From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10227 invoked by alias); 5 Mar 2012 22:23:32 -0000 Received: (qmail 10219 invoked by uid 22791); 5 Mar 2012 22:23:31 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SARE_SUB_ENC_UTF8 X-Spam-Check-By: sourceware.org Received: from mail-ey0-f169.google.com (HELO mail-ey0-f169.google.com) (209.85.215.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 05 Mar 2012 22:23:09 +0000 Received: by eaal1 with SMTP id l1so1702509eaa.0 for ; Mon, 05 Mar 2012 14:23:08 -0800 (PST) Received-SPF: pass (google.com: domain of mathiaskunter@gmail.com designates 10.14.121.82 as permitted sender) client-ip=10.14.121.82; Authentication-Results: mr.google.com; spf=pass (google.com: domain of mathiaskunter@gmail.com designates 10.14.121.82 as permitted sender) smtp.mail=mathiaskunter@gmail.com; dkim=pass header.i=mathiaskunter@gmail.com Received: from mr.google.com ([10.14.121.82]) by 10.14.121.82 with SMTP id q58mr11782903eeh.119.1330986188242 (num_hops = 1); Mon, 05 Mar 2012 14:23:08 -0800 (PST) Received: by 10.14.121.82 with SMTP id q58mr8961567eeh.119.1330986188147; Mon, 05 Mar 2012 14:23:08 -0800 (PST) Received: from [192.168.1.149] (178-191-231-126.adsl.highway.telekom.at. [178.191.231.126]) by mx.google.com with ESMTPS id s48sm66448513eem.0.2012.03.05.14.23.06 (version=SSLv3 cipher=OTHER); Mon, 05 Mar 2012 14:23:07 -0800 (PST) Message-ID: <4F553CCA.4080400@gmail.com> Date: Mon, 05 Mar 2012 22:23:00 -0000 From: Mathias Kunter User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: gdb@sourceware.org Subject: Re: Using UTF-8 as host charset References: <4F52480A.6000507@gmail.com> <87ty23vw4p.fsf@fleche.redhat.com> <4F5526F1.2010003@gmail.com> <87mx7uvji9.fsf@fleche.redhat.com> <4F55314A.6030003@gmail.com> <87eht6vi7q.fsf@fleche.redhat.com> In-Reply-To: <87eht6vi7q.fsf@fleche.redhat.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-03/txt/msg00019.txt.bz2 > I think so; but you can make a test case easily enough by setting gdb's > host-charset to ISO-8859-1 but Eclipse's notion to UTF-8, and then > trying things. I did several of such tests with different versions of GDB on Linux, Mac OS and Windows. I didn't experience any problems. I just wasn't sure whether any of the GDB's I tested used the phony iconv, so I thought I ask about this edge case here on the mailing list. Since you say that at worst GDB would probably only print some strings incorrectly even when the phony iconv is used, I think we're going to enable this feature by default. Thanks for your help! Mathias