[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 chet@case.edu http://cnswww.cns.cwru.edu/~chet/
- Re: RFE: Please allow unicode ID chars in identifiers, (continued)
- Re: RFE: Please allow unicode ID chars in identifiers, PePa, 2017/06/03
- Re: RFE: Please allow unicode ID chars in identifiers, dualbus, 2017/06/04
- Re: Patch for unicode in varnames..., L A Walsh, 2017/06/04
- Re: Patch for unicode in varnames..., George, 2017/06/05
- Re: Patch for unicode in varnames..., Peter & Kelly Passchier, 2017/06/05
- Re: Patch for unicode in varnames..., George, 2017/06/05
- Re: Patch for unicode in varnames..., L A Walsh, 2017/06/05
- Re: Patch for unicode in varnames..., George, 2017/06/06
- Re: Patch for unicode in varnames..., Peter & Kelly Passchier, 2017/06/06
- Re: Patch for unicode in varnames..., Peter & Kelly Passchier, 2017/06/06
- Re: Patch for unicode in varnames...,
Chet Ramey <=
- Re: Patch for unicode in varnames..., L A Walsh, 2017/06/06
- Re: Patch for unicode in varnames..., Greg Wooledge, 2017/06/06
- Re: Patch for unicode in varnames..., PePa, 2017/06/06
- Re: Patch for unicode in varnames..., Chet Ramey, 2017/06/13
- Re: Patch for unicode in varnames..., dualbus, 2017/06/06
- Re: Patch for unicode in varnames..., L A Walsh, 2017/06/06
- Re: Patch for unicode in varnames..., Greg Wooledge, 2017/06/06
- Re: Patch for unicode in varnames..., L A Walsh, 2017/06/06
- Re: Patch for unicode in varnames..., Chet Ramey, 2017/06/13
- Re: Patch for unicode in varnames..., tetsujin, 2017/06/13