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

Path csiph.com!weretis.net!feeder6.news.weretis.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!bloom-beacon.mit.edu!bloom-beacon.mit.edu!171.64.64.130.MISMATCH!usenet.stanford.edu!not-for-mail
From Yuri <yuri@rawbw.com>
Newsgroups gnu.bash.bug
Subject bash prints numeric values of unicode characters instead of their UTF8 representations
Date Sun, 31 Jan 2016 13:41:02 -0800
Lines 15
Approved bug-bash@gnu.org
Message-ID <mailman.3274.1454277417.843.bug-bash@gnu.org> (permalink)
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace usenet.stanford.edu 1454277417 25535 208.118.235.17 (31 Jan 2016 21:56:57 GMT)
X-Complaints-To action@cs.stanford.edu
To bug-bash@gnu.org
Envelope-to bug-bash@gnu.org
X-Authentication-Warning shell1.rawbw.com: Host c-50-184-63-128.hsd1.ca.comcast.net [50.184.63.128] claimed to be yuri.doctorlan.com
User-Agent Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0
X-detected-operating-system by eggs.gnu.org: FreeBSD 9.x
X-Received-From 198.144.192.42
X-Mailman-Approved-At Sun, 31 Jan 2016 16:56:56 -0500
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.14
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:12294

Show key headers only | 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