Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Dec 1996 07:58:24 +0300 (MSK)
From:      =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7=2C_Andrey_Chernov?= <ache@nagual.ru>
To:        David Nugent <davidn@freefall.freebsd.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: 8-bit characters in gecos field
Message-ID:  <Pine.BSF.3.95.961219074741.763A-100000@nagual.ru>
In-Reply-To: <199612190441.UAA29262@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 19 Dec 1996, David Nugent wrote:

> > > I've been entertaining the idea of having pw(8) allow 8-bit
> > > characters in the passwd GECOS field. It was suggested earlier
> 
> > 
> > There is no break as I see, but no sense too, because it is
> > unclear what character set you use for names. I.e. when finger
> > sends you some 8bit codes like this: Андрей
> > Чернов, what do you do with them?
> 
> By the same token, what do you do with these characters in
> a .plan or .project file?

Currently they are illegal places for 8bit characters.

> Finger, however, is easy to fix, by sending quoted printable
> with =?char-set rather than 8-bit characrters. The character
> set indicator should reflect the default language applicable
> for the user class.

In this case you need to parse QP into finger client and
yet one passwd field to store default charset.
It will be nice to set MM_CHARSET environment variable to this
value at login stage.

To continue thinking in this direction:
nice thing will be default locale name stored into passwd instead.
Since locale > charset, we can automatically set both LANG and MM_CHARSET
environment variables at login stage.

-- 
Andrey A. Chernov
<ache@nagual.ru>
http://www.nagual.ru/~ache/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.961219074741.763A-100000>