Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Certain unicode in hostname breaks with zsh 4.3.17



On 11 March 2012 20:17, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Sun, Mar 11, 2012 at 12:08 PM, Bart Schaefer
> <schaefer@xxxxxxxxxxxxxxxx> wrote:
>> ** (gnome-terminal:11819): WARNING **: Error (Invalid or incomplete
>> multibyte or wide character) converting data for child, dropping.
>>
>> zsh is probably encountering a similar error.
>
> However, I don't reproduce a crash:
>
> torch% print $ZSH_VERSION
> 4.3.17-dev-0
> torch% HOST="$(perl -MMIME::QuotedPrint -e "print
> decode_qp('=E3=81=95=E3=82=8F=E3=81=93')")"
> ã\M-^A\M-^Uã\M-^B\M-^Oã\M-^A\M-^S%

Regardless of how the data is encoded, shouldn't zsh not be trying to
interpret the value of $HOST as a pattern?

-- 
Mikael Magnusson



Messages sorted by: Reverse Date, Date, Thread, Author