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