Important: The information in this document is obsolete and should not be used for new development.
Creates a text encoding converter object and returns a reference to it.
pascal OSStatus TECCreateConverter (
For a specified source encoding and destination encoding, TECCreateConverter determines a conversion path, creates a text encoding converter object, and returns a reference to it. You use this converter object reference with conversion functions such as TECConvertText to convert text. This converter object describes the source, destination, and intermediate encodings; state information; and references to required plug-ins.
If no direct conversion path is found, then TECCreateConverter creates an indirect conversion automatically. You may also use the function TECCreateConverterFromPath to explicitly specify a conversion path.
To remove a converter object, you must call the function TECDisposeConverter.