Re: Hexadecimal digits?

From: Philippe Verdy (
Date: Tue Nov 11 2003 - 08:54:28 EST

  • Next message: Jill Ramonsky: "RE: Hexadecimal digits?"

    From: <>
    > There is nothing to stop such an algorithm from returning true for less
    > ('9', 'A') and equiv('A', 'a').

    And as well for getDigitValue('A') to return 10...
    The only thing that is missing for natural sort is the indication that 'A'
    is not to be interpreted as a letter but as a digit.

    That's where you can encode an override (for now a PUA, but why not a
    numeric override control?) to fix the behavior of the natural sorter (but
    not to fix the Unicode character properties: a 'A' remains with its gc=Lu,
    and not gc=No: it's just that the Unicode General category is ignored _only_
    by your natural sorter when it has detected a prior override control).

    This archive was generated by hypermail 2.1.5 : Tue Nov 11 2003 - 09:45:05 EST