Re: Case folding

From: Mike (mike-list@pobox.com)
Date: Thu Jun 08 2006 - 23:26:14 CDT

  • Next message: Philippe Verdy: "Re: Case folding"

    >> Some of the recent discussions have led me to
    >> question my implementation of upper/lowercasing
    >> and case folding. Currently I simply iterate
    >> through a string exchanging characters with
    >> their replacements. I don't first normalize
    >> to any form, or do any reordering of combining
    >> marks afterward.
    >>
    >> My question is, should I be doing these things?
    >
    > To answer this question, ask yourself what would happen if you
    > uppercased the string "Straße" this way.

    I think I would get the right answer, "STRASSE" (if
    that is the "sharp S" I have learned about a few weeks
    back). I didn't mean I only did single character
    replacement, I meant I didn't first normalize the
    string before or after replacing the characters.

    Mike



    This archive was generated by hypermail 2.1.5 : Thu Jun 08 2006 - 23:30:41 CDT