DragonFly BSD
DragonFly commits List (threaded) for 2005-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: ctype bug


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Thu, 7 Jul 2005 02:32:49 +0200
Mail-followup-to: commits@crater.dragonflybsd.org

On Thu, Jul 07, 2005 at 02:29:32AM +0200, Simon 'corecode' Schubert wrote:
> On 07.07.2005, at 02:15, Matthew Dillon wrote:
> >    Yes, right you are.  The standards folks screwed it all up even
> >    allowing EOF to be passed, does 0xFF translate to anything real
> >    in Euroland ?
> 
> not that i know of, but there could be locales that use 0xff :/

ISO-8859-1, y with diaresis. It is actively used in various European
languages and it is not only a valid character, it is also printable
to come back to the original beginning. So isprintf(255) == 0 is
incorrect for ISO-8859-1.

Joerg



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]