From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17482 invoked by alias); 25 Feb 2007 08:00:14 -0000 Received: (qmail 17456 invoked by uid 22791); 25 Feb 2007 08:00:12 -0000 X-Spam-Check-By: sourceware.org Received: from sophia.inria.fr (HELO sophia.inria.fr) (138.96.64.20) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 25 Feb 2007 08:00:03 +0000 Received: from localhost (localhost [127.0.0.1]) by sophia.inria.fr (8.13.8/8.13.8) with ESMTP id l1P7xjup019335; Sun, 25 Feb 2007 08:59:45 +0100 Received: from [192.168.1.3] (26.122.69-86.rev.gaoland.net [86.69.122.26] (may be forged)) (authenticated bits=0) by sophia.inria.fr (8.13.8/8.13.8) with ESMTP id l1P7xh0R019329 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sun, 25 Feb 2007 08:59:43 +0100 Subject: Re: [RFC] Signed/unsigned character arrays are not strings From: mathieu lacage To: Nick Roberts Cc: Daniel Jacobowitz , gdb@sourceware.org In-Reply-To: <17888.39894.136355.447008@kahikatea.snap.net.nz> References: <17887.62990.937672.281975@kahikatea.snap.net.nz> <20070224161315.GA27534@caradoc.them.org> <17888.39894.136355.447008@kahikatea.snap.net.nz> Content-Type: text/plain Date: Sun, 25 Feb 2007 21:07:00 -0000 Message-Id: <1172390381.2584.18.camel@mathieu> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 (2.8.3-1.fc6) Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (sophia.inria.fr [138.96.64.20]); Sun, 25 Feb 2007 08:59:44 +0100 (MET) 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: 2007-02/txt/msg00262.txt.bz2 On Sun, 2007-02-25 at 09:11 +1300, Nick Roberts wrote: > I don't understand why unsigned chars should be printed as arrays except to > solve Jan's particular problem. Maybe Emacs uses unsigned char for 8 bit > character sets like iso_8859-1: I don't know how useful that is to you but a lot of people (the first which comes to my mind is libxml2) decided to use "unsigned char *" to identify utf-8 encoded strings in C. Mathieu