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_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-2000 The Mozilla Organization.
Last modified April 17, 1998.