Important: The information in this document is obsolete and should not be used for new development.
Finds Mac OS encodings which have a character repertoire closest to that of an arbitrary non-Unicode encoding.
pascal OSStatus NearestMacTextEncodings(
When converting text from the Internet or from other platforms to Mac OS encodings (for display on the Mac OS, for example), you may need to know which Mac OS encodings provide the best match--that is, which Mac OS encodings have a character repertoire which is closest to that of an arbitrary non-Unicode encoding.