From: Tom Tromey <tromey@redhat.com>
To: Marc Khouzam <marc.khouzam@ericsson.com>
Cc: "'gdb\@sourceware.org'" <gdb@sourceware.org>
Subject: Re: UTF-8 not working for MI?
Date: Thu, 19 Aug 2010 18:20:00 -0000 [thread overview]
Message-ID: <m3iq364g78.fsf@fleche.redhat.com> (raw)
In-Reply-To: <F7CE05678329534C957159168FA70DEC5716E94E4D@EUSAACMS0703.eamcs.ericsson.se> (Marc Khouzam's message of "Thu, 19 Aug 2010 13:25:25 -0400")
>>>>> "Marc" == Marc Khouzam <marc.khouzam@ericsson.com> writes:
Marc> I've noticed that in MI mode, gdb does not show UTF-8 characters
Marc> properly.
Marc> The host character set is "auto; currently UTF-8".
Marc> ~"$1 = 228 L'\303\244'"
\303\244 is the UTF-8 representation of U+00E4
I can't readily find where the escaping is done, but the MI docs say:
`C-STRING ==>'
`""" SEVEN-BIT-ISO-C-STRING-CONTENT """'
which I presume means that readers must do this decoding.
Tom
next prev parent reply other threads:[~2010-08-19 18:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-19 17:25 Marc Khouzam
2010-08-19 18:20 ` Tom Tromey [this message]
2010-08-20 1:57 ` Marc Khouzam
2010-08-20 18:51 ` Tom Tromey
2010-08-27 15:21 ` Marc Khouzam
2010-08-27 16:45 ` Tom Tromey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3iq364g78.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=gdb@sourceware.org \
--cc=marc.khouzam@ericsson.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox