Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #12294

bash prints numeric values of unicode characters instead of their UTF8 representations

From Yuri <yuri@rawbw.com>
Newsgroups gnu.bash.bug
Subject bash prints numeric values of unicode characters instead of their UTF8 representations
Date 2016-01-31 13:41 -0800
Message-ID <mailman.3274.1454277417.843.bug-bash@gnu.org> (permalink)

Show all headers | View raw


I have this line in ~/.bashrc:
PS1=$'\\[\e[0;38;5;202m\\]\u2514\u2023\\[\e[0m\\] '

My command prompt looks like this:
root2514root2023

What makes bash print unicode charater ascii values?

bash-4.3.42
FreeBSD-10.3
LANG=en_US.UTF-8
terminal is konsole from kde4

Yuri

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

bash prints numeric values of unicode characters instead of their UTF8 representations Yuri <yuri@rawbw.com> - 2016-01-31 13:41 -0800

csiph-web