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

Message-Id: <m10CPzN-000S5oC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>, DJ Delorie <dj AT delorie DOT com>,
djgpp-workers AT delorie DOT com
Date: Mon, 15 Feb 1999 12:39:33 +0000
MIME-Version: 1.0
Subject: Re: ctype functions
References: <m10COp7-000S5tC AT inti DOT gov DOT ar>
In-reply-to: <Pine.SUN.3.91.990215165712.7539A-100000@is>
X-mailer: Pegasus Mail for Windows (v2.54)
Reply-To: djgpp-workers AT delorie DOT com

Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
 
> 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, 

Yes.

> 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.
 
> > Is because the lack of locale stuff?
> 
> It's because we only support the C locale in ctype functions.

If the standard says undefined, then we should use the most common.

SET
------------------------------------ 0 --------------------------------
Visit my home page: http://welcome.to/SetSoft
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


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