delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/02/15/10:00:59

Date: Mon, 15 Feb 1999 16:59:11 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
cc: DJ Delorie <dj AT delorie DOT com>, djgpp-workers AT delorie DOT com
Subject: Re: ctype functions
In-Reply-To: <m10COp7-000S5tC@inti.gov.ar>
Message-ID: <Pine.SUN.3.91.990215165712.7539A-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

On Mon, 15 Feb 1999, Salvador Eduardo Tropea (SET) wrote:

> Additionally a simple test shows that toupper/lower doesn't work for ASCII 
> values over 127 (I tried eacute and uuml).

If by ``doesn't work'' you mean that it returns the argument unchanged, 
then this is how it is supposed to work in the C locale: all ctype 
functions are undefined for non-ASCII (8-bit) characters.

> Is because the lack of locale stuff?

It's because we only support the C locale in ctype functions.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019