What character encoding does the generated code use?
XSD has built-in support for two character types: char and wchar_t. You can select the character type with the –char-type command line option. The default character type is char. The character encoding depends on the character type used. For the char character type the default application encoding is UTF-8. However, you can configure the character encoding that should be used by the object model using the –char-encoding options. As an argument to this option you can specify iso8859-1, lcp (Xerces-C++ local code page), and custom. The custom option allows you to support a custom encoding. For this to work you will need to implement the transcoder interface for your encoding (see the libxsd/xsd/cxx/xml/char-* files for examples) and include this implementation’s header at the beginning of the generated header files (see the –hxx-prologue option). When the local code page encoding is specified the Xerces-C++ XMLString::transcode functions are used for character conversion. On some plat