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