Important: The information in this document is obsolete and should not be used for new development.
Based on the given text encoding specifications for the converted text runs, creates and returns a Unicode converter object containing information required for converting strings from Unicode to one or more specified non-Unicode encodings.
pascal OSStatus CreateUnicodeToTextRunInfoByEncoding (
You pass a Unicode converter object returned from CreateUnicodeToTextRunInfoByEncoding to the function ConvertFromUnicodeToTextRun or ConvertFromUnicodeToScriptCodeRun to identify the information to be used for the conversion. These two functions modify the contents of the Unicode converter object.
In addition to various resource and memory errors, the function can return the following result codes: