Subject: Re: Russian locale and Russian messages
To: None <firstname.lastname@example.org>
From: Victor Sudakov <email@example.com>
Date: 01/27/2003 23:43:56
Christian Biere 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.
I used LANG because such was my FreeBSD experience. But fine, I will set
LC_CTYPE as well.
> > 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.
[sudakov@Sun2 ~] printenv LANG ; printenv LC_CTYPE
[sudakov@Sun2 ~] stty pass8
[sudakov@Sun2 ~] nonexistant_command
nonexistant_command: \353\317\315\301\316\304\301 \316\305 \316\301\312\304\305\316\301.
What am I doing wrong?
Victor Sudakov, VAS4-RIPE, VAS47-RIPN