This sounds like a bug; you should log it in Bugzilla so the RunRev team can fix it.
http://www.runrev.com/revolution/developers/bugdatabase/ Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Kjetil R� Hauge > Sent: Saturday, August 09, 2003 5:48 AM > To: [EMAIL PROTECTED] > Subject: isUpperCase(), anyone? > > > Is there any way to do a simple Unicode-compliant check of whether a > character is uppercase? I figured that this would do it: > > function isUpper x > set the useUnicode to true > --must be uppercase if the lowercased x is not equal > to the original x: > return charToNum(x) <>charToNum(toLower(x)) > end isUpper > > - but the problem seems to be in the toLower (and toUpper) functions. > The documentation says: > > toLower("NO, MA�ANA!") -- returns "no, ma�ana!" > > but both in 2.02 and 2.1b2 (Mac OS X), it returns "no, ma�ana!" . > Even Microsoft Word with its poor Unicode support can do ChangeCase > with Cyrillic and CE, so it should be possible. > > CharToNum() works fine with Unicode, so I suppose I could check if it > returns a number corresponding to an uppercase glyph (I don't need > conversion, only detection), but as these partly come in ranges, > partly in pairs with lowercase, it is not an appealing option. > -- > --- Kjetil R� Hauge, U. of Oslo. Tel. +47/22856710, fax +47/22854140 > --- (this msg sent from home, +47/67148424, fax > +1/5084372444) _______________________________________________ > use-revolution mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/use-> revolution > _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
