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