Using UTF-8 as host charset

Mathias Kunter mathiaskunter@gmail.com
Mon Mar 5 22:23:00 GMT 2012


> I think so; but you can make a test case easily enough by setting gdb's
> host-charset to ISO-8859-1 but Eclipse's notion to UTF-8, and then
> trying things.

I did several of such tests with different versions of GDB on Linux, Mac 
OS and Windows. I didn't experience any problems. I just wasn't sure 
whether any of the GDB's I tested used the phony iconv, so I thought I 
ask about this edge case here on the mailing list.

Since you say that at worst GDB would probably only print some strings 
incorrectly even when the phony iconv is used, I think we're going to 
enable this feature by default. Thanks for your help!

Mathias



More information about the Gdb mailing list