delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/08/29/06:37:58

Date: Fri, 29 Aug 2003 13:36:36 +0200
From: "Eli Zaretskii" <eliz AT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
Message-Id: <2110-Fri29Aug2003133636+0300-eliz@elta.co.il>
X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com
In-reply-to: <3F4E90EF.33122DA4@phekda.freeserve.co.uk> (message from Richard
Dawe on Fri, 29 Aug 2003 00:31:59 +0100)
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> <8296-Thu28Aug2003162425+0300-eliz AT elta DOT co DOT il> <3F4E90EF DOT 33122DA4 AT phekda DOT freeserve DOT co DOT uk>
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: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
> Newsgroups: comp.os.msdos.djgpp
> Date: Fri, 29 Aug 2003 00:31:59 +0100
> 
> By "non-ASCII" do you mean 8-bit characters?

No, I mean anything beyond 7-bit ASCII.

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

Wide characters is one representation of non-ASCII characters.
Another representation, which should also be supported by the library,
is the multibyte representation, whereby every characters is
represented as a series of 8-bit bytes.  (Many libraries choose UTF-8
as their multibyte representation.)  The is* macros should support the
multibyte representation in a manner equivalent to what the isw*
macros do with the wide characters.  That is, if you pass a wide
representation of a character CH to iswprint and the multibyte
representation of the same character to isprint, you should get ther
same result (I think).

- Raw text -


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