|
From: | L A Walsh |
Subject: | Re: RFE: Please allow unicode ID chars in identifiers |
Date: | Tue, 13 Jun 2017 17:35:32 -0700 |
User-agent: | Thunderbird |
Chet Ramey wrote:
That's not relevant to the issue of whether or not a particular character is classified as alphabetic in one locale and not another.
That isn't relevant either. Unicode declares the categories that characters are in -- GLOBALLY. It doesn't vary by locale.
Even if a character doesn't display in your locality, doesn't mean it wouldn't work -- i.e. if I don't have a Cryllic font installed, that doesn't mean the script wouldn't work -- as the characters would still be encoded as their Unicode values.A character that is classified as being a valid alphabetic in one locale may not be such in another, regardless of its encoding.
--- Doesn't happen in Unicode -- which is why I specified to use Unicode rules. Look at the unicode utils I mentioned. They can show you (the info from the unicode tables) what class each letter is in. Perl did this years ago. They only allow the types of unicode char associated with ID's in identifiers. The unicode properties don't vary by locale.
[Prev in Thread] | Current Thread | [Next in Thread] |