This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdbserver error message


Xingxing Pan <forandom@gmail.com> writes:

> Error message from debugger back end:
> 192.168.20.239:2345: \350\277\236\346\216\245\350\266\205\346\227\266.
> 192.168.20.239:2345: \350\277\236\346\216\245\350\266\205\346\227\266.
>
> The error message is unreadable. Dose anyone know how is the error
> message encoded?

Looks like some chinese in UTF-8.

ELISP> (detect-coding-string  "\350\277\236\346\216\245\350\266\205\346\227\266")
(utf-8 japanese-shift-jis raw-text utf-8-auto utf-16be utf-16le)
ELISP> (decode-coding-string "\350\277\236\346\216\245\350\266\205\346\227\266" 'utf-8)
"èæèæ"

Andreas.

-- 
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84  5EC7 45C6 250E 6F00 984E
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]