Date: Mon, 15 Feb 1999 18:37:13 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: "Salvador Eduardo Tropea (SET)" cc: DJ Delorie , djgpp-workers AT delorie DOT com Subject: Re: ctype functions In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com 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.