Skip to main content

Mozilla

  • About
  • Foundation
  • Contribute
  • Community
  • Developers
  • Projects

  • Roadmap
  • Projects
  • Coding
    • Module Owners
    • Hacking
    • Get the Source
    • Build It
  • Testing
    • Releases
    • Nightly Builds
    • Report A Problem
  • Tools
    • Bugzilla
    • Tinderbox
    • Bonsai
    • LXR
  • FAQs

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++


  • Support Options
  • Security Center
  • Privacy Policy
  • Contact Us

International Affiliates: Mozilla Europe - Mozilla Japan - Mozilla China

Portions of this content are © 1998–2008 by individual mozilla.org contributors
Content available under a Creative Commons license

Last modified April 16, 1998 Document History Edit this Page (or via CVS)