Subject: Re: Russian locale and Russian messages
To: None <netbsd-users@netbsd.org>
From: Christian Biere <christianbiere@gmx.de>
List: netbsd-users
Date: 01/27/2003 18:27:39
--=.iT'+jry5damO?t
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Hi Victor,
Victor Sudakov <sudakov@sibptus.tomsk.ru> wrote:
> What am I doing wrong, why am I seeing "\353\317\315\301\316" instead
> of 8-bit Cyrillic characters?
> [sudakov@Sun2 ~] printenv LANG; printenv SHELL
> ru_RU.KOI8-R
> /bin/tcsh
LANG is the wrong variable for this. You can set it to ru or ru_RU but
this variable only used by Perl IIRC. You should set LC_CTYPE to
ru_RU.KOI8-R. See setlocale(3) for more details.
> man tcsh advises to set the tty in 8 bit mode, how do I do that? I am
> connected via ssh.
stty pass8 should do that.
Christian
--=.iT'+jry5damO?t
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (NetBSD)
iD8DBQE+NWwV0KQix3oyIMcRApwBAJ9CvBJPr/6h8A3QjaYoUCPVorVRbQCgkMTp
Qin8he3fIbCzXFXCMiWT5F4=
=HGxZ
-----END PGP SIGNATURE-----
--=.iT'+jry5damO?t--