lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

William Ahern <> writes:
>> There's still the grapheme problem for å vs å; hopefully you can't
>> tell the second is "a".."␣̊". [1]
>> How should lpeg match the one with a separate combining mark
>> version against character classes?
> Normalization. Wrap the lpeg API with routines to normalize input
> strings.  Without normalization Unicode is almost useless, like
> comparing apples and oranges while the user sees plums.

Hardly; it very much depends on what you're doing with it -- and note
that in many cases (Apple, I'm looking at you...) normalization is
downright harmful.


"Don't just question authority,
Don't forget to question me."
-- Jello Biafra