Default target wide character set

Eli Zaretskii eliz@gnu.org
Wed Sep 16 20:54:00 GMT 2009


> From: Tom Tromey <tromey@redhat.com>
> Cc: alexeyf@opera.com, gdb-patches@sourceware.org
> Date: Wed, 16 Sep 2009 14:46:30 -0600
> 
> >>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> 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).
> 
> Eli> AFAIK, Windows (whose wchar_t is 16-bit) uses UTF-16, not UCS-2.
> 
> Ok.
> 
> We could name it "auto" then.

Yup.  Just to make myself clear: I was talking about the native
Windows runtime (MinGW).  I don't know what Cygwin uses; if it uses
something different, then we would need two different defaults.



More information about the Gdb-patches mailing list