The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search

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++

Copyright © 1998-1999 The Mozilla Organization.
Last modified April 17, 1998.