Important: The information in this document is obsolete and should not be used for new development.
Returns the Mac OS text encoding specification that corresponds to the specified Internet encoding name.
pascal OSStatus TECGetTextEncodingFromInternetName (
The Internet uses names (strings) to identify Web or mail encodings, while the Text Encoding Converter uses numeric text encoding specifications. You use TECGetTextEncodingFromInternetName to obtain the text encoding specification for a text encoding whose Internet encoding name you provide. This function performs the opposite action of TECGetTextEncodingInternetName.
The function GetTextEncodingName