: Many people use code like
    : 
    :      if isUpper c
    :        c := toLower c
    : 
    : thinking that "if toLower c != c then isUpper c is true". If you just
    : look at the categories, you miss some characters.

    Thomas> This code seems quite strange to me. c := toLower c should be
    Thomas> enough and should always be more efficient than the above
    Thomas> quirk. So in cases where a lower case is required and the above
    Thomas> code really doesn't work it's that code which should be considered
    Thomas> buggy.

I recall that this code fragment was used for implementations that were flawed
in some way.  I know many earlier versions of SunOS had this problem.
-----------------------------------------------------------------------------
Mark Leisher
Computing Research Lab            Cinema, radio, television, magazines are a
New Mexico State University       school of inattention: people look without
Box 30001, Dept. 3CRL             seeing, listen without hearing.
Las Cruces, NM  88003                            -- Robert Bresson
-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/lists/

Reply via email to