Creating Converters
A converter instance is associated with an encoding at construction time. This association cannot be changed once a converter object is instantiated. For example, the following code creates an
RWUToUnicodeConverter instance that converts from ISO-8859-1 to UTF-16:
RWUToUnicodeConverter fromIso_8859_1("ISO-8859-1");
This code constructs an
RWUFromUnicodeConverter converter that converts from UTF-16 to Shift-JIS:
RWUFromUnicodeConverter toShiftJis("Shift-JIS");
The encoding names recognized by the Internationalization Module may be accessed programmatically, as described in
Character Encodings.