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
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.
- CCCDataObject Created character code converter object pointer.
- 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:
generated by doc++