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: Default target wide character set


> From: Tom Tromey <tromey@redhat.com>
> Cc: gdb-patches@sourceware.org
> Date: Wed, 16 Sep 2009 12:55:52 -0600
> 
> What I would propose doing is adding a new charset named "UCS".  If this
> is selected as the target wide charset, then we would automatically pick
> UCS-2 or UCS-4 depending on sizeof(target wchar_t).

AFAIK, Windows (whose wchar_t is 16-bit) uses UTF-16, not UCS-2.

What other platforms have a 16-bit wchar_t, and are you sure any
significant portion of them use UCS-2 (which is an obsolete encoding,
AFAIK)?


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