From: Richard Dawe Newsgroups: comp.os.msdos.djgpp Subject: Re: wide character functions Date: Fri, 29 Aug 2003 00:31:59 +0100 Lines: 43 Message-ID: <3F4E90EF.33122DA4@phekda.freeserve.co.uk> References: <2427-Thu28Aug2003000602+0300-eliz AT elta DOT co DOT il> <8296-Thu28Aug2003162425+0300-eliz AT elta DOT co DOT il> NNTP-Posting-Host: 62.137.7.3 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news7.svr.pol.co.uk 1062113599 13177 62.137.7.3 (28 Aug 2003 23:33:19 GMT) NNTP-Posting-Date: 28 Aug 2003 23:33:19 GMT X-Complaints-To: abuse AT theplanet DOT net X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586) X-Accept-Language: de,fr To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello. Eli Zaretskii wrote: > > > From: "Lawrence Rust" > > 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/ ]