This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: UTF-8 not working for MI?
>>>>> "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