ctype bug

Joerg Sonnenberger joerg at britannica.bec.de
Wed Jul 6 17:33:36 PDT 2005


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





More information about the Commits mailing list