Roger Leigh wrote: > I wasn't aware that this level of checking was performed, though
it does make sense. But, does it not reject non 7-bit input in the C locale for completeness? Should tools doing "raw" I/O not be using lower level interfaces such as fread() and fwrite() rather than the "formatted" print functions which are specified to behave in a locale-dependentmanner?
printf is not locale dependent, but on numeric display (and eventually on some extensions). ciao cate