pugixml/docs
Nico Rieck b2de8c92c2 Add char8_t mode
char8 mode, enabled using the PUGIXML_CHAR8_MODE macro, uses C++20 char8_t
instead of char for the UTF-8 interface. This makes use of pugixml safer
when char is otherwise used for the system codepage.

Stream-based methods received an additional overload, since the char
overload may be used to represent arbitrary bytes, and the char8_t overload
may be used by string streams.

An additional typedef u8char_t, which represents the type pugixml uses for
a UTF-8 code unit, was added for the conversion functions.

Most changes had to be done in the test code. Representing raw bytes as
string literals does not work for UTF-8 literals, since hex escape codes
are interpreted as a Unicode character. Affected places either received a
branch with a u8 literal or use a new RAW() macro which smuggles in UTF-8
code points using chars.
2022-11-01 23:50:33 +01:00
..
images docs: Fix a typo in dom_tree.png 2017-12-29 17:03:54 -08:00
samples Fix whitespace issues 2016-01-24 14:05:44 +01:00
config.adoc Update all URLs to pugixml.org to https:// 2018-11-12 12:28:54 -08:00
manual.adoc Add char8_t mode 2022-11-01 23:50:33 +01:00
manual.html docs: Regenerate HTML documentation 2022-02-08 20:09:10 -08:00
quickstart.adoc Update copyright year to 2022 2022-02-08 19:58:58 -08:00
quickstart.html docs: Regenerate HTML documentation 2022-02-08 20:09:10 -08:00