The Mozilla
Organization
Our Mission
Who We Are
Getting Involved
Community
Editorials
What's New
Projects
Module Owners
Blue Sky
New Layout
Mail/News
Ports
Other
Source Code
Getting It
Documentation
License Terms
Bugs
Search
Feedback
DevEdge Online


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



Copyright © 1998 Netscape Communications Corporation.