Subject: Re: finger
To: Noriyuki Soda <soda@sra.co.jp>
From: Kimmo Suominen <kim@tac.nyc.ny.us>
List: tech-userlevel
Date: 09/10/2002 12:27:25
I agree that passing a locale would be nice.  However, since I'm told
it is not safe to use multi-byte character sets with finger, I thought
we would not want to provide such an option.

I obviously need to study more about how isprint(3) and friends work.
Maybe there is a good solution hiding in there somewhere.

Regards,
+ Kim


| From:    Noriyuki Soda <soda@sra.co.jp>
| Date:    Tue, 10 Sep 2002 21:08:45 +0900
|
| >>>>> On Tue, 10 Sep 2002 07:57:46 -0400,
| 	Kimmo Suominen <kim@tac.nyc.ny.us> said:
|
| > 	(void) putenv("LC_CTYPE=en_US.ISO8859-15");
|
| Hardcoding locale name like this is really bad practice of
| programing.
|
| This should be done by either
| 	1. passing locale name by its argument.
| or
| 	2. hardcoding usable range of codepoints.
| --
| soda
|