lua-users home
lua-l archive

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


On Mon, Jun 18, 2012 at 02:14:49PM +0900, Miles Bader wrote:
> William Ahern <william@25thandClement.com> 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.
> 

I think my MTA truncated this message. Care to resend the explanation? =)