Important: The information in this document is obsolete and should not be used for new development.
Creates a converter object that includes a specific conversion path--from a source encoding through intermediate encodings to a destination encoding--and returns a reference to it.
pascal OSStatus TECCreateConverterFromPath(
You use TECCreateConverterFromPath to create and obtain a reference to a converter object that specifies a conversion path you define. This function is faster than the function TECCreateConverter since it does not need to search for a conversion path.
You specify the conversion sequence from the source encoding through intermediate encodings to the destination encoding. To do so, you create an array of text encoding specifications that identify the encoding conversions through which the text to be converted should pass.
In this array, each adjacent pair of text encodings you specify must represent a conversion that is supported by the current configuration of the Text Encoding Converter. Otherwise, the function returns an error result code and does not create the converter object. To determine each subsequent step in the sequence from the source to the destination encoding, use the function TECGetDestinationTextEncodings.
To remove a converter object, you must call the function TECDisposeConverter.