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 uint32 INTL_StrToUnicodeLen ( INTL_Encoding_ID encoding, unsigned char* src )

Return memory requirement for INTL_StrToUnicode

Documentation

Return memory requirement for INTL_StrToUnicode. Return the maximum memory requirement for text converted from the specified encoding to Unicode. Call this to prepare memory for INTL_StrToUnicode. The difference between INTL_TextToUnicodeLen is the input string is specified by a NULL terminated string.
Returns:
Size of Unicode to store the converted output (in UCS-2 units not bytes)
Parameters:
encoding - Specifies the encoding of text in src
src - Specifies the text to be converted
See Also:
INTL_StrToUnicode
INTL_TextToUnicodeLen

alphabetic index hierarchy of classes


Copyright © 1998 Netscape Communications Corporation

generated by doc++

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