Mail Archives: djgpp-workers/1999/02/15/11:38:56
On Mon, 15 Feb 1999, Salvador Eduardo Tropea (SET) wrote:
> > then this is how it is supposed to work in the C locale: all ctype
> > functions are undefined for non-ASCII (8-bit) characters.
>
> Then: why don't just assume the default DOS code page? (437). That's better
> than nothing.
Sorry, ``undefined'' is not correct. The standard says that in the C
locale, only (7-bit) ASCII letters are converted by toupper/tolower. So
we can't do anything with non-ASCII characters without violating the
standard. Only locales other than C can do that.
- Raw text -