[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [6023] Use a hex value instead of possibly ambiguous 8
From: |
Jamie Lokier |
Subject: |
Re: [Qemu-devel] [6023] Use a hex value instead of possibly ambiguous 8 bit character |
Date: |
Sun, 14 Dec 2008 17:16:11 +0000 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Johannes Schindelin wrote:
> > 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.
isprint should return true for umlaut characters on an ISO-8859-1
console, provided the locale ($LANG, $LC_CTYPE) matches the console.
The question is whether you want QEMU's debugging output to depend on
the current locale, or be the same for everyone. If the former,
isprint is quite appropriate. If the latter, restricting to ASCII is
appropriate.
-- Jamie
- [Qemu-devel] [6023] Use a hex value instead of possibly ambiguous 8 bit character, Blue Swirl, 2008/12/14
- Re: [Qemu-devel] [6023] Use a hex value instead of possibly ambiguous 8 bit character, Johannes Schindelin, 2008/12/14
- Re: [Qemu-devel] [6023] Use a hex value instead of possibly ambiguous 8 bit character, Blue Swirl, 2008/12/14
- Re: [Qemu-devel] [6023] Use a hex value instead of possibly ambiguous 8 bit character, Johannes Schindelin, 2008/12/14
- Re: [Qemu-devel] [6023] Use a hex value instead of possibly ambiguous 8 bit character, Andreas Schwab, 2008/12/14
- Re: [Qemu-devel] [6023] Use a hex value instead of possibly ambiguous 8 bit character, Johannes Schindelin, 2008/12/14
- Re: [Qemu-devel] [6023] Use a hex value instead of possibly ambiguous 8 bit character, Erik de Castro Lopo, 2008/12/14
- Re: [Qemu-devel] [6023] Use a hex value instead of possibly ambiguous 8 bit character, Johannes Schindelin, 2008/12/14
- Re: [Qemu-devel] [6023] Use a hex value instead of possibly ambiguous 8 bit character,
Jamie Lokier <=
- Re: [Qemu-devel] [6023] Use a hex value instead of possibly ambiguous 8 bit character, M. Warner Losh, 2008/12/14
- Re: [Qemu-devel] [6023] Use a hex value instead of possibly ambiguous 8 bit character, Blue Swirl, 2008/12/14
- Re: [Qemu-devel] [6023] Use a hex value instead of possibly ambiguous 8 bit character, Blue Swirl, 2008/12/14