Important: The information in this document is obsolete and should not be used for new development.
Returns the currently supported mail encoding specifications for a specified region.
pascal OSStatus TECGetMailTextEncodings (
The TECGetMailTextEncodings function returns the text encoding specifications currently supported from those that are commonly used for e-mail in the specified region. The text encoding specifications are returned in the array you pass to the function as the availableEncodings parameter, eliminating any duplicate information in the process. Consequently, the number of encodings TECGetMailTextEncodings returns in the availableEncodings array may be fewer than the number of elements you allocated for the array based on your call to TECCountMailTextEncodings.
The function TECCountAvailableTextEncodings
The function TECGetAvailableTextEncodings
The function TECCountWebTextEncodings
The function TECGetTextEncodingFromInternetName
The function GetTextEncodingName
The region codes section of "Script Manager" in Inside Macintosh: Text