From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11933 invoked by alias); 15 Apr 2009 15:14:04 -0000 Received: (qmail 11922 invoked by uid 22791); 15 Apr 2009 15:14:03 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 15 Apr 2009 15:13:57 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n3FFDtab027886 for ; Wed, 15 Apr 2009 11:13:55 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n3FFDt0T030575 for ; Wed, 15 Apr 2009 11:13:55 -0400 Received: from opsy.redhat.com (vpn-12-183.rdu.redhat.com [10.11.12.183]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n3FFDso6008271; Wed, 15 Apr 2009 11:13:54 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 005C350830B; Wed, 15 Apr 2009 09:13:53 -0600 (MDT) To: Eli Zaretskii Cc: gdb-patches@sources.redhat.com Subject: Re: Configuring gdb_wchar.h References: <8363hboz5x.fsf@gnu.org> <833acbo32k.fsf@gnu.org> <83myajma7a.fsf@gnu.org> <83iql7m7r1.fsf@gnu.org> <83hc0rm1mh.fsf@gnu.org> <8363h6mdue.fsf@gnu.org> <833acam2wl.fsf@gnu.org> From: Tom Tromey Reply-To: Tom Tromey Date: Wed, 15 Apr 2009 15:14:00 -0000 In-Reply-To: <833acam2wl.fsf@gnu.org> (Eli Zaretskii's message of "Wed\, 15 Apr 2009 17\:01\:46 +0300") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (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-04/txt/msg00308.txt.bz2 >>>>> "Eli" == Eli Zaretskii writes: Eli> (gdb) show host-charset Eli> The host character set is "auto; currently UTF-8". Eli> (gdb) show target-charset Eli> The target character set is "ISO-8859-1". Eli> This is the DJGPP port. Is this expected? Where are these defaults Eli> set? If a system has nl_langinfo(CODESET), then that is used. Otherwise, we fall back on a built-in default. Eli> GDB 6.8 shows ISO-8859-1 for both character sets, FWIW. 6.8 did no auto-detection at all and had ISO-8859-1 coded in. I changed the default to UTF-8 because that is increasingly common. Tom