From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23518 invoked by alias); 16 Sep 2009 20:46:51 -0000 Received: (qmail 23507 invoked by uid 22791); 16 Sep 2009 20:46:49 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_66,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 16 Sep 2009 20:46:46 +0000 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n8GKkWIn027384; Wed, 16 Sep 2009 16:46:32 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n8GKkVaR027132; Wed, 16 Sep 2009 16:46:32 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n8GKkUIu012205; Wed, 16 Sep 2009 16:46:31 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id A37EE37819C; Wed, 16 Sep 2009 14:46:30 -0600 (MDT) From: Tom Tromey To: Eli Zaretskii Cc: alexeyf@opera.com, gdb-patches@sourceware.org Subject: Re: Default target wide character set References: <83y6oewrmm.fsf@gnu.org> Reply-To: Tom Tromey Date: Wed, 16 Sep 2009 20:46:00 -0000 In-Reply-To: <83y6oewrmm.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 16 Sep 2009 23:40:01 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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/msg00534.txt.bz2 >>>>> "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. 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