This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
i18n/2296: gdb displays non utf-8 conforming text to utf-8 terminals
- From: tpeland at tkukoulu dot fi
- To: gdb-gnats at sources dot redhat dot com
- Date: 8 Aug 2007 09:50:20 -0000
- Subject: i18n/2296: gdb displays non utf-8 conforming text to utf-8 terminals
- Reply-to: tpeland at tkukoulu dot fi
>Number: 2296
>Category: i18n
>Synopsis: gdb displays non utf-8 conforming text to utf-8 terminals
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Aug 08 09:58:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: tpeland@tkukoulu.fi
>Release: 6.6
>Organization:
>Environment:
>Description:
At least command "info local" prints variable contents thinking that most(?) iso-8859-1 characters are valid for the terminal used.
As utf-8 is becomming more and more the default setting this is a problem.
>How-To-Repeat:
# make sure your program has characters like \162 \185 in a local variable
$ export LC_CTYPE=fi_FI.UTF-8
$ gdb myprog mycore
(gdb) info local
chunk_header = "`\203=¢¹*\000\000\000\236"
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: