Skip to main content

Mozilla

  • About
  • Foundation
  • Contribute
  • Community
  • Developers
  • Projects

  • Roadmap
  • Projects
  • Coding
    • Module Owners
    • Hacking
    • Get the Source
    • Build It
  • Testing
    • Releases
    • Nightly Builds
    • Report A Problem
  • Tools
    • Bugzilla
    • Tinderbox
    • Bonsai
    • LXR
  • FAQs

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


  • Support Options
  • Security Center
  • Privacy Policy
  • Contact Us

International Affiliates: Mozilla Europe - Mozilla Japan - Mozilla China

Portions of this content are © 1998–2008 by individual mozilla.org contributors
Content available under a Creative Commons license

Last modified April 16, 1998 Document History Edit this Page (or via CVS)