Instantiating a Transcoder

ITranscoder is an abstract class that provides the standard interfaces for all transcoding operations. Transcoders for each character set are implemented in subclasses of ITranscoder. To create a transcoder, call the static function ITranscoder::createTranscoder with a parameter specifying the name of the character set you want to transcode text to or from.

For example, to create a transcoder for the standard Latin1 ISO 8859 character set, you would do the following:

ITranscoder* transcoder = 

ITranscoder::createTranscoder("ISO-8859-1");

If you don't specify a character set name, the function returns the default transcoder for the current host character set. For example, on a Japanese Windows NT host, you will get a Shift-JIS transcoder.



Transcoding Classes
Transcoder Names