You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



PUBLIC void INTL_CharSetIDToName ( int16 charSetID, char *charset_return )

Returns the preferred MIME charset name corresponding to the given charset ID

Documentation

Returns the preferred MIME charset name corresponding to the given charset ID. Charset names are registered by IANA (Internet Assigned Numbers Authority). The current charset name database can be found at: ftp://ftp.isi.edu/in-notes/iana/assignments/character-sets. This function returns the charset name for the given Character Set ID which in most cases corresponds to the "(preferred MIME name)" registered with IANA. This function may return private names not found in the registered. Private names start with "x-". See INTL_CharSetNameToID for information about charset IDs.
Parameters:
charSetID - Specifies the charset ID
charset_return - Returns the corresponding charset name, max 128 bytes
See Also:
INTL_CharSetNameToID

alphabetic index hierarchy of classes


Copyright © 1998 Netscape Communications Corporation

generated by doc++