delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/08/28/09:25:04

Date: Thu, 28 Aug 2003 16:24:25 +0200
From: "Eli Zaretskii" <eliz AT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: djgpp AT delorie DOT com
Message-Id: <8296-Thu28Aug2003162425+0300-eliz@elta.co.il>
X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9
In-reply-to: <Dxj3b.94$c12.961@newsfep4-glfd.server.ntli.net>
(nospam AT NOsoftSPAMsystem DOT co DOT uk)
Subject: Re: wide character functions
References: <Kq53b.5954$L15 DOT 1502 AT newsfep4-winn DOT server DOT ntli DOT net> <2427-Thu28Aug2003000602+0300-eliz AT elta DOT co DOT il> <Dxj3b.94$c12 DOT 961 AT newsfep4-glfd DOT server DOT ntli DOT net>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> 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.

- Raw text -


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