Internationalization Module User’s Guide
:
Chapter 4 Conversion
:
Explicit Conversions
Explicit Conversions
A
converter
is an object that converts text from one encoding to another. The Internationalization Module provides two converter classes:
•
RWUToUnicodeConverter
converts text from any recognized encoding to UTF-16, in the natural endian order for the platform in use.
•
RWUFromUnicodeConverter
converts text from UTF-16 to any recognized encoding.
An
explicit conversion
uses an instance of
RWUToUnicodeConverter
or
RWUFromUnicodeConverter
to specify how a particular conversion should be performed. The following sections describe how to create and manipulate converters.