[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch for unicode in varnames...
From: |
Peter & Kelly Passchier |
Subject: |
Re: Patch for unicode in varnames... |
Date: |
Tue, 6 Jun 2017 07:40:55 +0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 |
On 06/06/2560 05:39, George wrote:
> So if you had "Pokémon" as an identifier in a Latin-1-encoded script (byte
> value 0xE9 between the "k" and "m") and then tried running that script in a
> UTF-8 locale, that byte sequence (0xE9 0x6D) would actually be invalid in
> UTF-8, so Eduardo's patch would indicate that the identifier is invalid and
> fail to run the script.
I often work with a locale that has a UTF-8 encoding and an
different/older encoding that are incompatible. I haven't tried the
patch, but if I use unicode characters in function names, if I write a
script in one encoding, and run it in an environment in the other
encoding, it still runs correctly, but it won't render correctly. (I
guess this depends whether the editor recognizes different encodings,
like Geany does render it correctly, but I don't know of a console
editor that does that.)
Peter
- Re: Patch for unicode in varnames..., (continued)
- 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
- Re: Patch for unicode in varnames..., Chet Ramey, 2017/06/13
- Re: Patch for unicode in varnames..., George, 2017/06/07
- Re: Patch for unicode in varnames..., Dethrophes, 2017/06/07
- Re: Patch for unicode in varnames..., Peter & Kelly Passchier, 2017/06/07
- Re: Patch for unicode in varnames..., L A Walsh, 2017/06/09
- Re: Patch for unicode in varnames..., Chet Ramey, 2017/06/13
- Re: Patch for unicode in varnames...,
Peter & Kelly Passchier <=
- Re: Patch for unicode in varnames..., Chet Ramey, 2017/06/13
- Re: Patch for unicode in varnames..., Chet Ramey, 2017/06/13
- Re: Patch for unicode in varnames..., dualbus, 2017/06/05
- Re: Patch for unicode in varnames..., Chet Ramey, 2017/06/13
- Re: Patch for unicode in varnames..., Chet Ramey, 2017/06/13
- Re: Patch for unicode in varnames..., Eduardo Bustamante, 2017/06/15
- Re: RFE: Please allow unicode ID chars in identifiers, Chet Ramey, 2017/06/13
- Re: RFE: Please allow unicode ID chars in identifiers, Chet Ramey, 2017/06/13
- Re: RFE: Please allow unicode ID chars in identifiers, tetsujin, 2017/06/13
- Re: RFE: Please allow unicode ID chars in identifiers, Chet Ramey, 2017/06/13