From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25734 invoked by alias); 16 Sep 2009 20:54:37 -0000 Received: (qmail 25725 invoked by uid 22791); 16 Sep 2009 20:54:36 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_66,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout7.012.net.il (HELO mtaout7.012.net.il) (84.95.2.19) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 16 Sep 2009 20:54:30 +0000 Received: from conversion-daemon.i-mtaout7.012.net.il by i-mtaout7.012.net.il (HyperSendmail v2007.08) id <0KQ200200ZM41900@i-mtaout7.012.net.il> for gdb-patches@sourceware.org; Wed, 16 Sep 2009 23:54:18 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.70.38.189]) by i-mtaout7.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KQ300JNI0QHQJ60@i-mtaout7.012.net.il>; Wed, 16 Sep 2009 23:54:18 +0300 (IDT) Date: Wed, 16 Sep 2009 20:54:00 -0000 From: Eli Zaretskii Subject: Re: Default target wide character set In-reply-to: To: Tom Tromey Cc: alexeyf@opera.com, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83skemwqyq.fsf@gnu.org> References: <83y6oewrmm.fsf@gnu.org> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-09/txt/msg00535.txt.bz2 > From: Tom Tromey > Cc: alexeyf@opera.com, gdb-patches@sourceware.org > Date: Wed, 16 Sep 2009 14:46:30 -0600 > > >>>>> "Eli" == Eli Zaretskii 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.