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 int INTL_GetCharCodeConverter ( int16 from_csid, int16 to_csid, CCCDataObject obj )

Look for a converter from one charset to another

Documentation

Look for a converter from one charset to another. If the from_csid is CS_DEFAULT, this function uses the ID returned by INTL_GetCCCDefaultCSID. If the to_csid is zero, this function uses the ID returned by INTL_DocToWinCharSetID for the from_csid determined above. If found, the converter function is stored in the given character code conversion object.
Returns:
1 for success, 0 for failure
Parameters:
from_csid - Specifies the charset ID to convert from
to_csid - Specifies the charset ID to convert to
obj - Specifies the character code converter object
See Also:
INTL_CreateCharCodeConverter, INTL_CallCharCodeConverter

alphabetic index hierarchy of classes


Copyright © 1998 Netscape Communications Corporation

generated by doc++



Copyright © 1998 Netscape Communications Corporation.