The Mozilla
Organization
Our Mission
Who We Are
Getting Involved
Community
Editorials
What's New
Newsbot
Development
Roadmap
Module Owners
Blue Sky
Projects
Status
Tools
Products
Source Code
Binaries
Documentation
License Terms
Bug Reports
Quality
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-1999 The Mozilla Organization.