The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search

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-2000 The Mozilla Organization.
Last modified April 17, 1998.