From 76d23e639004517db8f9469d64ac1789f8449365 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 7 Jan 2010 13:50:11 +0200 Subject: Add support for ISO-8859-1 as application encoding New runtime configuration parameter, XSDE_ENCODING. New option, --char-encoding. New test, tests/cxx/hybrid/iso8859-1. --- dist/config/config.make | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'dist/config/config.make') diff --git a/dist/config/config.make b/dist/config/config.make index ac3518c..fccb68f 100644 --- a/dist/config/config.make +++ b/dist/config/config.make @@ -37,12 +37,26 @@ XSDE_PLATFORM := posix XSDE_ARCH_WIDTH := 32 -# Platform byte order. Valid values are 'b' for big-endian -# and 'l' for little-endian. +# Platform byte order. Valid values are 'b' for big-endian and 'l' +# for little-endian. # XSDE_BYTEORDER := l +# Application character encoding. Valid values are 'utf8' for UTF-8 +# and 'iso8859-1' for ISO-8859-1. 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. Also don't forget to use the --char-encoding option +# when compiling your schemas if using an encoding other than UTF-8. +# +XSDE_ENCODING := utf8 + + # Set to 'n' if you don't have STL (std::string, etc.). Also don't # forget to use the --no-stl option when compiling your schemas. # -- cgit v1.1