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_TextCharLenToByteCount ( int16 charSetID, unsigned char *text, uint32 charLen )

Convert number of characters to number of bytes

Documentation

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

alphabetic index hierarchy of classes


Copyright © 1998 Netscape Communications Corporation

generated by doc++



Copyright © 1998 Netscape Communications Corporation.