The Mozilla
Organization
Our Mission
Who We Are
Getting Involved
Community
Editorials
What's New
Projects
Module Owners
Blue Sky
New Layout
Mail/News
Ports
Other
Source Code
Getting It
Documentation
License Terms
Bugs
Search
Feedback
DevEdge Online


PUBLIC CCCDataObject INTL_CreateDocToMailConverter ( iDocumentContext context, XP_Bool isHTML, unsigned char *buffer, uint32 buffer_size )

Initialize and set up a character code converter for a mail charset

Documentation

Initialize and set up a character code converter for a mail charset. Allocate memory and initialize for character code converter. From/To charset is determined by given context or by parsing the source buffer in case of HTML. After charsets are determined, it set up a converter function. Caller is responsible for deallocation of an allocated memory.
Returns:
CCCDataObject Created character code converter object pointer.
Parameters:
context - Context to access charset info.
isHTML - If TRUE then the input stream is parsed for meta tag.
buffer - Source buffer.
buffer_size - the length of the source buffer.
See Also:
INTL_CreateCharCodeConverter

alphabetic index hierarchy of classes


Copyright © 1998 Netscape Communications Corporation

generated by doc++



Copyright © 1998 Netscape Communications Corporation.