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

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