Important: The information in this document is obsolete and should not be used for new development.
Converts a string from Unicode to one or more scripts.
pascal OSStatus ConvertFromUnicodeToScriptCodeRun (
To use the ConvertFromUnicodeToScriptCodeRun function, you must first set up an array of script codes containing in order of precedence the scripts to be used for the conversion. To create a Unicode converter object, you call the function CreateUnicodeToTextRunInfoByScriptCode. You pass the returned Unicode converter object as the iUnicodeToTextInfo parameter when you call the ConvertFromUnicodeToScriptCodeRun function.
The ConvertFromUnicodeToScriptCodeRun function returns the converted string in the array pointed to by the oOutputStr parameter.