bug-bash
[Top][All Lists]
Advanced

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

Re: expansion of \uXXXX in non utf8 locales


From: Chet Ramey
Subject: Re: expansion of \uXXXX in non utf8 locales
Date: Fri, 21 Dec 2012 08:50:17 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/17.0 Thunderbird/17.0

On 12/20/12 9:00 PM, Stephane Chazelas wrote:

> Bash Version: 4.2
> Patch Level: 36 (same with 39)
> Release Status: release
> 
> Description:
>       There seems to be a bug with the expansion of \uXXXX
>       where XXXX > 0xFF in non UTF8 locales

Yes, bash-4.2 doesn't do good enough error checking on the return value
from wctomb.  This will be fixed in the next release; the new code has been
in the development branch for some time.

Chet

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



reply via email to

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