From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22446 invoked by alias); 4 Nov 2004 16:55:22 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 22354 invoked from network); 4 Nov 2004 16:55:19 -0000 Received: from unknown (HELO rwcrmhc13.comcast.net) (204.127.198.39) by sourceware.org with SMTP; 4 Nov 2004 16:55:19 -0000 Received: from [10.0.1.2] (h000393256f12.ne.client2.attbi.com[24.61.199.96]) by comcast.net (rwcrmhc13) with SMTP id <20041104165516015008ii0qe> (Authid: schlie); Thu, 4 Nov 2004 16:55:17 +0000 User-Agent: Microsoft-Entourage/11.1.0.040913 Date: Thu, 04 Nov 2004 16:55:00 -0000 Subject: Re: GDB 6.4 and translations From: Paul Schlie To: Andrew Cagney , Eli Zaretskii CC: Message-ID: In-Reply-To: <418A4BDE.6050302@gnu.org> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-SW-Source: 2004-11/txt/msg00039.txt.bz2 > From: Andrew Cagney > > Eli Zaretskii wrote: >>> Date: Wed, 03 Nov 2004 19:27:19 -0500 >>> From: Paul Schlie >>> >>> Although I don't know if it's been considered or even an issue, but it may >>> be worth trying to avoid the use of Unicode's typographical quote characters >>> in otherwise ASCII message string output on even Unicode supported platforms >>> by default >> >> >> Sorry, I have no idea what you are talking about; please consider >> elaborating, e.g., by providing an example of such a problematic >> message. > > Yep, huh? Can someone please post a concrete example of what this is > all about? > > Andrew Basically GCC 4.0 has tentatively adopted a convention to allow the specification of a quoted format specifier something basically like: printf("quoted %qX" some_value) => quoted "123", for example. Which I is arguably cleaner then attempting to escape embedded quotes within format strings; but has then further chose to hard code the generation of Unicode left/right typographical quote characters in lieu of vanilla ASCII quote characters by default if the local environment variable indicates that Unicode is supported, which may be taking things too far, see: http://gcc.gnu.org/ml/gcc/2004-10/msg01271.html (but the good news is that it may be relatively easily overridden by modifying local environment variables seen by GCC prior to being invoked)