Web Service Development Guide : PART IV Extending your Applications : Chapter 19 Internationalizing Your Services
Chapter 19 Internationalizing Your Services
Overview
HydraExpress supports the internationalization of your Web services through character and string conversion to and from UTF-8 and your native encoding.
When you input XML Schemas and WSDLs with a character encoding other than UTF-8 to the HydraExpress code generator, the internal parser automatically converts the string data to UTF-8 from the encoding specified in the document’s prolog.
When using the generated classes to parse non-UTF-8 XML documents, HydraExpress automatically converts the string data to UTF-8 before unmarshaling, according to the encoding specified in the document’s prolog. On marshaling, the string data remains in UTF-8.
You may customize HydraExpress in a number of ways in order to work with your characters in another encoding.
This chapter includes
A discussion on how HydraExpress performs character conversions internally, “How HydraExpress Performs Character Conversions for Non-UTF-8 Encodings”
Customizing your character encoding by creating an automatic character conversion to maintain the data strings in your C++ classes in a non-UTF encoding, “Automatic Character Conversion through a Customized Mapping”.
Background information on character encodings and HydraExpress, “XML and Character Encodings Concepts”.