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