From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6460 invoked by alias); 17 Apr 2011 02:55:52 -0000 Received: (qmail 6440 invoked by uid 22791); 17 Apr 2011 02:55:51 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout22.012.net.il (HELO mtaout22.012.net.il) (80.179.55.172) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 17 Apr 2011 02:55:34 +0000 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LJR00700ZUN1A00@a-mtaout22.012.net.il> for gdb-patches@sourceware.org; Sun, 17 Apr 2011 05:55:32 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.124.96.168]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LJS006X504JYT50@a-mtaout22.012.net.il>; Sun, 17 Apr 2011 05:55:32 +0300 (IDT) Date: Sun, 17 Apr 2011 02:55:00 -0000 From: Eli Zaretskii Subject: Re: [RFA-v2] Handle cygwin wchar_t specifics In-reply-to: <000001cbfc7d$3f67f440$be37dcc0$%muller@ics-cnrs.unistra.fr> To: Pierre Muller Cc: jan.kratochvil@redhat.com, tromey@redhat.com, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83zknpoacd.fsf@gnu.org> References: <5928.31498147479$1302882967@news.gmane.org> <005101cbfc50$193136b0$4b93a410$%muller@ics-cnrs.unistra.fr> <20110416162455.GA5599@host1.jankratochvil.net> <000001cbfc7d$3f67f440$be37dcc0$%muller@ics-cnrs.unistra.fr> 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: 2011-04/txt/msg00260.txt.bz2 > From: "Pierre Muller" > Cc: "'Tom Tromey'" , > Date: Sat, 16 Apr 2011 23:28:35 +0200 > > -/* If __STDC_ISO_10646__ is defined, then the host wchar_t is UCS-4. > +/* If __STDC_ISO_10646__ is defined, then the host wchar_t is UCS-4 or UCS-2. Please use UTF-16, not UCS-2. What Windows uses is the former. The latter is the old name from the days when Unicode covered only the BMP; it was superseded by UTF-16 that covers more than that.