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 char* INTL_EncodeMimePartIIStr ( char *header, int16 wincsid, XP_Bool bUseMime )

Convert and encode message header

Documentation

Convert and encode message header. Convert the string into an encoding used in Internet messages and encode them as per RFC 2047. It will (1) perform the codeset conversion and (2) RFC 1522 encoding algorithm (if bUseMime is true or the internet message encoding is ISO-2022-KR or ISO-2022-JP). This is a restrict version of INTL_EncodeMimePartIIStr_VarLen which always use 72 for encodedWordSize
Returns:
the encoded/converted header. The caller need to free this by calling XP_FREE when the result is no longer needed.
Parameters:
header - Specifies the RFC 1522 string to be encoded.
wincsid - Specifies the source encoding
bUseMime - Specifies apply RFC 1522 rule or not. If the value is true or the internet message encoding is ISO-2022-JP or ISO-2022-KR, then it perform RFC1522 encoding after convert the text into the internet message encoding, Otherwise, it only convert the text into internet message encoding.
See Also:
INTL_DecodeMimePartIIStr
INTL_EncodeMimePartIIStr_VarLen

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)