From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 774 invoked by alias); 10 Nov 2009 09:24:40 -0000 Received: (qmail 763 invoked by uid 22791); 10 Nov 2009 09:24:36 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp.nokia.com (HELO mgw-mx03.nokia.com) (192.100.122.230) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 10 Nov 2009 09:24:31 +0000 Received: from esebh105.NOE.Nokia.com (esebh105.ntc.nokia.com [172.21.138.211]) by mgw-mx03.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id nAA9OBG7007247 for ; Tue, 10 Nov 2009 11:24:27 +0200 Received: from vaebh104.NOE.Nokia.com ([10.160.244.30]) by esebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 10 Nov 2009 11:24:09 +0200 Received: from mgw-da02.ext.nokia.com ([147.243.128.26]) by vaebh104.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Tue, 10 Nov 2009 11:24:08 +0200 Received: from gar.localnet (bettdhcp167121.europe.nokia.com [172.25.167.121]) by mgw-da02.ext.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id nAA9O6fP011636 for ; Tue, 10 Nov 2009 11:24:07 +0200 From: =?iso-8859-1?q?Andr=E9_P=F6nitz?= To: gdb@sourceware.org Subject: Re: [python] Pretty-printers and addressprint Date: Tue, 10 Nov 2009 15:06:00 -0000 User-Agent: KMail/1.11.2 (Linux/2.6.28-11-generic; KDE/4.2.2; i686; ; ) References: <20091110021158.C3C2576D70@ppluzhnikov.mtv.corp.google.com> <8ac60eac0911100006yc31e2acmba7bf9fde33ddfa@mail.gmail.com> <4AF92621.4080807@redhat.com> In-Reply-To: <4AF92621.4080807@redhat.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200911101021.47431.andre.poenitz@nokia.com> X-Nokia-AV: Clean 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: 2009-11/txt/msg00112.txt.bz2 On Tuesday 10 November 2009 09:36:49 Phil Muldoon wrote: > On 11/10/2009 08:06 AM, Paul Pluzhnikov wrote: > > > > Unfortunately I frequently deal with non-ascii strings, and the > > problem just wouldn't go away :-( > > > > Previous threads on this subject, e.g. > > http://sourceware.org/ml/archer/2008-q4/msg00180.html didn't appear to > > have reached a satisfactory conclusion. > > > > > > There is a bug that tracks this now: > > http://sourceware.org/bugzilla/show_bug.cgi?id=10705 > > But I think (also) what you are asking for is a way to get at the > underlying data without passing it through an encoding? That would be useful in my opinion. Even if the proper encoding were known, data could still be corrupted. Getting direct access to the real data would be nice, even though it is already possible right now using 'manual' iteration the data using a "char *" value. Andre'