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 int32 INTL_TextByteCountToCharLen ( int16 charSetID, unsigned char *text, uint32 byteCount )

Convert number of bytes to number of characters

Documentation

Convert number of bytes to number of characters. Given a number of bytes in a given string, this function determines the number of characters.
Returns:
The number of characters
Parameters:
charSetID - Specifies the charset ID of the text
text - Specifies the text
byteCount - Specifies the number of bytes
See Also:
INTL_TextCharLenToByteCount

alphabetic index hierarchy of classes


Copyright © 1998 Netscape Communications Corporation

generated by doc++

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