Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: Eli Zaretskii , DJ Delorie , djgpp-workers AT delorie DOT com Date: Mon, 15 Feb 1999 12:39:33 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: ctype functions References: In-reply-to: X-mailer: Pegasus Mail for Windows (v2.54) Reply-To: djgpp-workers AT delorie DOT com Eli Zaretskii 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