🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.internat
Article #970

Re: Programming and international character sets.

#970
From: Karl Heuer
Date: Wed, 02 Nov 1988 20:33
14 lines
1190 bytes
In article <207@jhereg.Jhereg.MN.ORG> mark@jhereg (Mark Colburn) writes:
>One problem is that, althougth the [C] standard supports multi-byte
>characters ..., no support is provided [for using them with <ctype.h>].
>Here are some suggestions:
>	int     wcislower(char *string)
>	char   *wctolower(char *string)

It's not necessary to pass/return pointers; there is an arithmetic type
"wchar_t" in ANSI C.  Thus it would be simpler to define these as follows:
	int     wcislower(wchar_t wc);
	wchar_t wctolower(wchar_t wc);

Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint
Followups to comp.std.{internat,c}.
Technical Details
Message-ID: <10314@haddock.ima.isc.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!ima!haddock!karl
References: <532@krafla.rhi.hi.is> <8804@smoke.BRL.MIL> <207@jhereg.Jhereg.MN.ORG>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!ima!haddock!karl
From: karl@haddock.ima.isc.com (Karl Heuer)
Newsgroups: comp.std.internat,comp.std.c,comp.emacs,comp.lang.c,comp.sys.ibm.pc
Subject: Re: Programming and international character sets.
Message-ID: <10314@haddock.ima.isc.com>
Date: 2 Nov 88 20:33:11 GMT
References: <532@krafla.rhi.hi.is> <8804@smoke.BRL.MIL> <207@jhereg.Jhereg.MN.ORG>
Reply-To: karl@haddock.ima.isc.com (Karl Heuer)
Followup-To: comp.std.internat,comp.std.c
Organization: Interactive Systems, Boston
Lines: 14