Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LBpdq-0003tI-Nj for qemu-devel@nongnu.org; Sun, 14 Dec 2008 07:00:10 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LBpdn-0003sE-Sm for qemu-devel@nongnu.org; Sun, 14 Dec 2008 07:00:09 -0500 Received: from [199.232.76.173] (port=45588 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LBpdl-0003rv-PI for qemu-devel@nongnu.org; Sun, 14 Dec 2008 07:00:05 -0500 Received: from mail.gmx.net ([213.165.64.20]:57687) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LBpdl-00086a-1z for qemu-devel@nongnu.org; Sun, 14 Dec 2008 07:00:05 -0500 Date: Sun, 14 Dec 2008 13:00:01 +0100 (CET) From: Johannes Schindelin Subject: Re: [Qemu-devel] [6023] Use a hex value instead of possibly ambiguous 8 bit character In-Reply-To: <20081214224559.c54b844a.mle+tools@mega-nerd.com> Message-ID: References: <20081214224559.c54b844a.mle+tools@mega-nerd.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Erik de Castro Lopo Cc: qemu-devel@nongnu.org Hi, Please Cc: me if you reply directly to me. On Sun, 14 Dec 2008, Erik de Castro Lopo wrote: > Johannes Schindelin wrote: > > > I vote against using isprint(c). The code is simple as it is, > > otherwise you'd have to look up what isprint() does, _and_ rely on > > isprint() being present. > > > > I know, there are many people on this list who are all too happy to > > rely on new-fangled C99 stuff or lock themselves (and others) in with > > GCCisms. Peronally, though, I find it utterly stupid to do that unless > > you really have to. > > isprint is part of C89 and any compiler less than 20 years old should > support it. Okay, so it is C89. So what does it do exactly? Yes, exactly you have to look it up. Nice job. Whatever, Dscho P.S.: oh, so now the umlauts are not even printed when you are on an ISO-8859-1 console? Nice job, again.