printing 0xbeef wchar_t on x86-windows...

Joel Brobecker brobecker@adacore.com
Mon Oct 15 20:14:00 GMT 2012


> >   * valprint.c:generic_emit_char calls wchar_iterate, and finds
> >     one valid character according to the intermediate encoding
> >     ("wchar_t"), even though the character isn't valid in the
> >     original/target charset ("CP1252").
> 
> How would cp1252 enter the picture, when you are talking about a
> wchar_t data type?

It's the default target charset on this host (see "set/show
host-charset"). That's pretty much all I know.

-- 
Joel



More information about the Gdb-patches mailing list