From 1ca6396a3dd284241de11bcaa210ad5836e8e5a8 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 8 Dec 2009 16:18:01 +0200 Subject: Multiple object model character encodings support Also add support for ISO-8859-1. --- documentation/cxx/tree/manual/index.xhtml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'documentation/cxx/tree/manual') diff --git a/documentation/cxx/tree/manual/index.xhtml b/documentation/cxx/tree/manual/index.xhtml index d468fe3..91c6154 100644 --- a/documentation/cxx/tree/manual/index.xhtml +++ b/documentation/cxx/tree/manual/index.xhtml @@ -226,7 +226,7 @@ 2.1Preliminary Information - +
2.1.1Identifiers
2.1.2Character Type
2.1.2Character Type and Encoding
2.1.3XML Schema Namespace
2.1.4Anonymous Types
@@ -567,7 +567,7 @@ CONVENTION section in the XSD Compiler Command Line Manual.

-

2.1.2 Character Type

+

2.1.2 Character Type and Encoding

The code that implements the mapping, depending on the --char-type option, is generated using either @@ -577,6 +577,20 @@ your schemas, for example std::basic_string<C>.

+

Another aspect of the mapping that depends on the character type + is character encoding. For the char character type + the default encoding is UTF-8. Other supported encodings are + ISO-8859-1, Xerces-C++ Local Code Page (LPC), as well as + custom encodings and can be selected with the + --char-encoding command line option.

+ +

For the wchar_t character type the encoding is + automatically selected between UTF-16 and UTF-32/UCS-4 depending + on the size of the wchar_t type. On some platforms + (for example, Windows with Visual C++ and AIX with IBM XL C++) + wchar_t is 2 bytes long. For these platforms the + encoding is UTF-16. On other platforms wchar_t is 4 bytes + long and UTF-32/UCS-4 is used.

2.1.3 XML Schema Namespace

-- cgit v1.1