Also, is this something that really should be an opcode instead of a standard library function?
-J -- On Sun, Nov 06, 2005 at 11:55:00AM -1000, Joshua Hoblitt wrote: > On Sun, Nov 06, 2005 at 01:42:00PM -0800, Matt Diephouse wrote: > > > > Patrick Michaud was kind enough to provide a link to this table of > > conversions on IRC: http://www.unicode.org/Public/UNIDATA/ > > CaseFolding.txt > > ICU provides a function to do that: > > -- > /** > * The given character is mapped to its lowercase equivalent according > * to UnicodeData.txt; if the character has no lowercase equivalent, the > * character itself is returned. > * > * Same as java.lang.Character.toLowerCase(). > * > * This function only returns the simple, single-code point case > * mapping. Full case mappings may result in zero, one or more code > * points and depend on context or language etc. Full case mappings are > * applied by the string case mapping functions, see ustring.h and the > * UnicodeString class. > * > * @param c the code point to be mapped > * @return the Simple_Lowercase_Mapping of the code point, if any; > * otherwise the code point itself. > * @stable ICU 2.0 > */ > U_CAPI UChar32 U_EXPORT2 > u_tolower(UChar32 c); > -- > > -J > > --
pgp91sGI7bVVQ.pgp
Description: PGP signature