bug-bash
[Top][All Lists]
Advanced

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

Re: Readline's `capitalize-word' / bash read -e issue with UTF-8 multiby


From: Chet Ramey
Subject: Re: Readline's `capitalize-word' / bash read -e issue with UTF-8 multibyte character
Date: Mon, 8 May 2017 15:22:16 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.1.0

On 5/8/17 10:24 AM, Eduardo Bustamante wrote:
> address@hidden:~$ LC_ALL=en_US.UTF-8 ~/src/gnu/bash/bash -c 'read -e;
> declare -p REPLY'
> Ñu
> woops
> declare -- REPLY="�w�u"
> 
> I typed: <ñ><u><\C-a><\ec><return><w><o>...<return>

Thanks for the report. This is a genuine bug that people using the devel
brach are likely to encounter when mixing read -e and multibyte chars.

Chet
-- 
``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]