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 int INTL_CharLen ( int charSetID, unsigned char *pstr )

Returns the number of bytes in the given character

Documentation

Returns the number of bytes in the given character. This function checks for zero bytes within the text, returning the actual length even if the preceding byte(s) would normally indicate a longer multibyte character.
Returns:
The number of bytes in the given character
Parameters:
charSetID - Specifies the charset ID of the text
pstr - Specifies the 1st byte of the character
See Also:
INTL_IsLeadByte

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)