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
generated by doc++