Important: The information in this document is obsolete and should not be used for new development.
Returns the localized name for a specified text encoding.
OSStatus GetTextEncodingName (TextEncoding iEncoding,
Names returned by GetTextEncodingName (in the buffer referred to by oEncodingName) may contain parentheses and possibly other menu item metacharacters, and so cannot be used with AppendMenu or InsertMenuItem. They can, however, be used with SetMenuItemText.
In addition to various resource and memory errors, this function can return the following result codes: