Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #12299
| From | Yuri <yuri@rawbw.com> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: bash prints numeric values of unicode characters instead of their UTF8 representations |
| Date | 2016-02-03 12:20 -0800 |
| Message-ID | <mailman.3526.1454530862.843.bug-bash@gnu.org> (permalink) |
| References | <56AE7F6E.3040406@rawbw.com> |
On 01/31/2016 13:41, Yuri wrote: > I have this line in ~/.bashrc: > PS1=$'\\[\e[0;38;5;202m\\]\u2514\u2023\\[\e[0m\\] ' This link http://unix.stackexchange.com/questions/25903/awesome-symbols-and-characters-in-a-bash-prompt says: "Since bash 4.2, you can use \u followed by 4 hexadecimal digits in a $'…' string". My bash-4.3.42 misinterprets \u as the user name instead. So what could be wrong? Is \u supposed to be a user name or a unicode codepoint hexadecimal prefix? Yuri
Back to gnu.bash.bug | Previous | Next | Find similar
Re: bash prints numeric values of unicode characters instead of their UTF8 representations Yuri <yuri@rawbw.com> - 2016-02-03 12:20 -0800
csiph-web