Re: printing 0xbeef wchar_t on x86-windows...

Joel Brobecker
2012-10-15T20:14:41Z

> > * 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