The Mozilla
Organization
Our Mission
Who We Are
Getting Involved
Community
Editorials
What's New
Development
Module Owners
Blue Sky
Projects
Source Code
Getting It
Documentation
License Terms
Bugs
Search
Feedback


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 Netscape Communications Corporation.