Re: RFE: Please allow unicode ID chars in identifiers
From:
Greg Wooledge
Subject:
Re: RFE: Please allow unicode ID chars in identifiers
Date:
Tue, 13 Jun 2017 17:00:10 -0400
User-agent:
Mutt/1.4.2.3i
On Tue, Jun 13, 2017 at 04:44:08PM -0400, tetsujin@scope-eye.net wrote:
> For that to work, basically the character encoding used to interpret
> the script should be (potentially) distinct from the one used to
> interact with the rest of the system.
>
> ...But that gets complicated: the shell would need to interpret the
> script in its locale of origin, but still respect the locale for other
> matters of I/O. [...]
The main issue here is that the author's locale may not *exist* on the
user's machine. There may not be any way for bash to determine which
non-ASCII characters constitute "letters" in the author's locale.