Mail Archives: djgpp/2003/08/28/19:45:38
Hello.
Eli Zaretskii wrote:
>
> > From: "Lawrence Rust" <nospam AT NOsoftSPAMsystem DOT co DOT uk>
> > Newsgroups: comp.os.msdos.djgpp
> > Date: Thu, 28 Aug 2003 10:01:15 +0100
> >
> > Oh well, not a problem. Surely there are standard C implementations for
> > them in glibc?
>
> You are invited to look into glibc sources, but I doubt that you'd
> find there some ``standard'' implementation. The implementation of
> wide character functions depends on the internal representation of
> non-ASCII characters, and the standard doesn't mandate what that
> representation is. So each implementation is non-standard, in this
> sense.
>
> Also, the _really_ hard part of adding such functions to the library
> is that all the other character-related functions, like isupper,
> ispunct, etc., need to know about the non-ASCII characters and support
> them as you'd expect.
To Eli:
By "non-ASCII" do you mean 8-bit characters?
There are wide equivalents of is* - isw*.
(I'm sure you know this already. I'm just a little unclear as to what you mean
above.)
To the OP:
If you're interested in the current state of play with regard to wide
characters, take a look at the DJGPP 2.04 C99 status page:
http://www.phekda.freeserve.co.uk/richdawe/djgpp/2.04/c99-204.html
Bye, Rich =]
--
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]
- Raw text -