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: printing wchar_t*


On Fri, Apr 14, 2006 at 03:55:49PM +0300, Eli Zaretskii wrote:
> Anyway, UTF-16 is a variable-length encoding, so wchar_t is not it.

There's a rant about this in the glibc manual I was just reading...

In fact, on many platforms, wchar_t is only 16-bit.  How exactly you
handle UTF-8 or UCS-4 input in this case, I don't really understand.

-- 
Daniel Jacobowitz
CodeSourcery


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