> Date: Sun, 06 Nov 2022 17:05:00 +0200
> From: Eli Zaretskii <e...@gnu.org>
> Cc: w...@gnu.org, bug-texinfo@gnu.org
> 
> > It could instead be
> > 
> > function islower(c)
> > {
> >     return c ~ /[[:lower:]]/
> > }
> > 
> > And similar for the others.  That would work for any unicode character.
> 
> Sure, but is the issue only with lower-case letters?  What about
> collation order or even determining what is and isn't a character (as
> opposed to incomplete byte sequence)?

I mean: what if the document is encoded in Latin-1, but the locale's
codeset is UTF-8?  Then the 0xE0 byte (à in Latin-1 encoding) will
probably not be identified as lower-case.

Reply via email to