[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash prints numeric values of unicode characters instead of their UT
Re: bash prints numeric values of unicode characters instead of their UTF8 representations
Wed, 3 Feb 2016 17:06:22 -0500
On Wed, Feb 03, 2016 at 01:54:39PM -0800, Yuri wrote:
> At least U+2023 is a valid character, it should be printed in utf8 as a
> unicode codepoint. My locale is utf8.
Works for me.
address@hidden:~$ 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.
> 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",