This is the mail archive of the gdb-patches@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: printing 0xbeef wchar_t on x86-windows...


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


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