Mail Archives: djgpp-workers/1999/02/15/10:32:09
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 -