bug-bash
[Top][All Lists]
Advanced

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

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


From: Yuri
Subject: bash prints numeric values of unicode characters instead of their UTF8 representations
Date: Sun, 31 Jan 2016 13:41:02 -0800
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

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



reply via email to

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