Comment 37 for bug 239222

Revision history for this message
In , Karlt (karlt) wrote :

(In reply to comment #14)
> NS_IS_ALPHA also checks whether the char is ASCII.
> So, if the result is true, should be ASCII alphabets.

It checks whether the char is <= 0x7f. Locale also includes the charmap. If every charmap has the same (ASCII) meaning for the first 0x7f characters, then it should be safe. But I don't know whether that is a safe assumption.
("locale -m" gives a list of available charmaps.)