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
    • MXR
  • FAQs

PUBLIC unsigned char* INTL_GetNormalizeStrFromRFC1522 ( int16 csid, unsigned char* rfc1522header )

Convert a string from RFC1522 encoded header and normalize it, by dropping the case of the character

Documentation

Convert a string from RFC1522 encoded header and normalize it, by dropping the case of the character. The return value could be used with INTL_StrContains, INTL_StrIs, INTL_StrBeginWith or INTL_StrEndWith to perform string matching. This function will normalize a string by dropping the case of character according to the csid the caller passed in. It will also ignore CR and LF characters.
Returns:
a normalized string which could be used in INTL_StrContains, INTL_StrIs , INTL_StrBeginWith and INTL_StrEndWith The caller should free it by calling XP_FREE when it is not needed.
Parameters:
csid - Specifies the encoding of str
str - Specifies the to-be-normalized string.
See Also:
INTL_GetNormalizeStr
INTL_StrContains
INTL_StrIs
INTL_StrBeginWith
INTL_StrEndWith

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)