[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Incorrect unicode escapes
From: |
Chet Ramey |
Subject: |
Re: Incorrect unicode escapes |
Date: |
Mon, 26 Jun 2017 11:18:36 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 |
On 6/26/17 9:12 AM, Angus Duggan wrote:
> Sorry, bashbug didn't work under cygwin...
>
> BASH_VERSION=4.4.12(3)-release
> uname -a: CYGWIN_NT-6.1 xxxxxxx 2.8.0(0.309/5/3) 2017-04-01 20:47 x86_64
> Cygwin
>
> The function u32toutf16() in lib/sh/unicode.c incorrectly implements
> surrogate pairs. \uff08 (Full Width Left Paren) is encoded to the invalid
> surrogate pair d7ff df08.
Thanks for the report. This was reported and fixed back in November, 2016
as the result of
http://lists.gnu.org/archive/html/bug-bash/2016-11/msg00039.html
--
``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/