This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Default target wide character set
>>>>> "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.
Eli> What other platforms have a 16-bit wchar_t, and are you sure any
Eli> significant portion of them use UCS-2 (which is an obsolete encoding,
Eli> AFAIK)?
I don't know.
Tom