Re: Need "case folding quickcheck"
"Mark Davis" <[email protected]> Tue, 7 Dec 2004 09:54:00 -0800
| Newsgroups | gmane.comp.lib.icu.general |
|---|---|
| Message-ID | <[email protected]> |
Now I understand. I filed a related bug on: http://www.jtcsv.com/cgibin/private/icu-bugs-private/properties?id=3375, so you might add a reply comment to that. Mark ----- Original Message ----- From: "Deborah Goldsmith" <[email protected]> To: "Mark Davis" <[email protected]> Cc: "icu list" <[email protected]> Sent: Monday, December 06, 2004 19:34 Subject: Re: Need "case folding quickcheck" > Yes, but I don't want the set of characters that can change under *any* > case operation; I only want the set of characters that change > specifically under case folding, and nothing else. Lowercase letters > like "a" do not change under case folding. However, lowercase letters > like ß *do* change under case folding, so > [[:Case_Sensitive:]-[:Lowercase:]] does not work. > > The reason I need this is for a process that needs to handle huge > amounts of text. I can't afford to call u_strCaseFold unless there is > something that actually needs to be folded. So I need to build a USet > of things that need special handling, and then convert that to a bitmap > for the BMP (and just calling u_strCaseFold if there is an SMP > character). > > Deborah > > On Dec 6, 2004, at 6:59 PM, Mark Davis wrote: > > > I thought case-sensitive included everything that could change or be > > changed > > to under upper/lower/title/folding. Markus worked the most with this > > stuff > > lately, so he'd probably have the best answer. > > > > Mark > > > > ----- Original Message ----- > > From: "Deborah Goldsmith" <[email protected]> > > To: "icu list" <[email protected]> > > Sent: Monday, December 06, 2004 18:45 > > Subject: Need "case folding quickcheck" > > > > > >> I need to build a USet that is the set of characters that might change > >> under case folding. The best I have been able to come up with so far > >> is > >> something like: > >> > >> [[[:Case_Sensitive:]-[:Lowercase:]][exceptions]] > >> > >> where "exceptions" is basically everything in CaseFolding.txt that > >> contains the word "SMALL". > >> > >> Is there a better way to do this? > >> > >> Thanks, > >> Deborah > >> > >> _______________________________________________ > >> icu mailing list > >> [email protected] > >> http://oss.software.ibm.com/developerworks/oss/mailman/listinfo/icu > >> > > > > _______________________________________________ > icu mailing list > [email protected] > http://oss.software.ibm.com/developerworks/oss/mailman/listinfo/icu >