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 void INTL_UnicodeToStr ( INTL_Encoding_ID encoding, INTL_Unicode* ustr, uint32 ustrlen, unsigned char* dest, uint32 destbuflen )

Convert Unicode string to a specified encoding

Documentation

Convert Unicode string to a specified encoding. The caller needs to call INTL_UnicodeToStrLen first to prepare memory and pass into dest.
Parameters:
encoding - Specifies the target encoding
ustr - Specifies the buffer containing UCS-2 data
ustrlen - Specifies the valid length of ustr in UCS-2 units not bytes
dest - Specifies the buffer for the converted text and returns the converted text
destbuflen - Specifies the size of dest in bytes
See Also:
INTL_UnicodeToStrLen

alphabetic index hierarchy of classes


Copyright © 1998 Netscape Communications Corporation

generated by doc++


Copyright © 1998-1999 The Mozilla Organization.