bug-bash
[Top][All Lists]
Advanced

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

Re: Patch for unicode in varnames...


From: Chet Ramey
Subject: Re: Patch for unicode in varnames...
Date: Tue, 13 Jun 2017 15:49:39 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.1.1

On 6/6/17 4:08 AM, Peter & Kelly Passchier wrote:
> 
> 
> On 06/06/2560 14:37, George wrote:
>> Broadly speaking I think the approach taken in Eduardo's patch
>> (interpreting the byte sequence according to the rules of its character
>> encoding) is better than the approach taken in current versions of Bash
>> (letting 0x80-0xFF slide through the parser) - but that approach only
>> works if you know the correct character encoding to use when processing
>> the script. The information has to be provided in the script somehow.
> 
> I think only supporting UTF-8 would be the easiest, it allows all glyphs
> to be used. And no extra declaration needs to be added to bash.

"Only supporting UTF-8" doesn't resolve the issue, which is not encoding-
related. And of course there needs to be additional code in bash no
matter what approach is used.


-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]