[xsde-users] Re: Error during serialization of the character 'ü'
boris at codesynthesis.com
Thu Jan 7 07:32:58 EST 2010
Happy new year!
The binary with support for ISO-8859-1 is ready:
You will need to add the XSDE_ENCODING parameter to your config file
and rebuild the XSD/e runtime (see config/config.nmake for details).
You will also need to recompile your schemas with the
'--char-encoding iso8859-1' option. After that you should be able to
use 'ü' directly in your application. See Chapter 3, "Mapping
Configuration" in the C++/Hybrid Getting Started Guide for details.
Here is the relevant item from the NEWS file:
* Support for ISO-8859-1 in addition to UTF-8 as application encoding.
Note that this encoding is not the same as the XML document encoding
that is being parsed or serialized. Rather, it is the encoding that
is used inside the application. When an XML document is parsed the
character data is automatically converted to the application encoding.
Similarly, when an XML document is serialized, the data in the
application encoding is automatically converted to the resulting
document encoding. To select a particular encoding, configure the
XSD/e runtime library accordingly and pass the --char-encoding option
to the XSD/e compiler when translating your schemas.
Let us know if you run into any problems.
More information about the xsde-users