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 int16 INTL_CharSetNameToID ( char *charset )

Returns the charset ID corresponding to the given charset name

Documentation

Returns the charset ID corresponding to the given charset name. The charset ID is a private 16-bit integer, described in ns/include/csid.h. If the given charset is unknown, CS_UNKNOWN is returned. If the given charset is NULL, CS_DEFAULT is returned. Charset names are not case-sensitive. See INTL_CharSetIDToName for a description of charset names.
Returns:
the corresponding charset ID
Parameters:
charset - Specifies the charset name
See Also:
INTL_CharSetIDToName

alphabetic index hierarchy of classes


Copyright © 1998 Netscape Communications Corporation

generated by doc++

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