bug-bash
[Top][All Lists]
Advanced

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

Re: bash prints numeric values of unicode characters instead of their UT


From: Yuri
Subject: Re: bash prints numeric values of unicode characters instead of their UTF8 representations
Date: Wed, 3 Feb 2016 14:47:35 -0800
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

On 02/03/2016 14:06, Greg Wooledge wrote:
Works for me.

wooledg@wooledg:~$ PS1=$'\u2023 \w\$ '
? ~$

I just can't show it in this cross-system-X2X-with-different-character-sets
setup.  But it works for me, on Debian GNU/Linux with LANG=en_US.UTF-8.

I believe you. It does work for you. Just not for me.
Running echo $'\u2514\u2023' also prints '\u2514\u2023'. No idea what is broken. (running on FreeBSD-10.3)

>And why the same escape character is interpreted in two different ways
>within the same piece of software?
Welcome to Bash.  It's got layers upon layers of new features, deprecated
features, historical features, features mandated by external "standards",
etc.

Doesn't sound like a positive thing to me -)

Yuri



reply via email to

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