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_GetNormalizeStr ( int16 charSetID, unsigned char* str )

Normalize a string, by dropping the case of the characters

Documentation

Normalize a string, by dropping the case of the characters. The return value could be used with INTL_StrContains, INTL_StrIs, INTL_StrBeginWith or INTL_StrEndWith to perform string matching. This function normalizes a string by dropping the case of character according to the charSetID the caller passed in. It also ignores 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:
charSetID - Specifies the encoding of str
str - Specifies the to-be-normalized string.
See Also:
INTL_GetNormalizeStrFromRFC1522
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.