[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is it possible to use new Emacsen with non-ASCII?

From: Eli Zaretskii
Subject: Re: Is it possible to use new Emacsen with non-ASCII?
Date: Thu, 15 May 2008 22:06:48 +0300

> From: Ilya Zakharevich <address@hidden>
> Date: Thu, 15 May 2008 18:02:44 +0000 (UTC)
> Bcc: address@hidden
> Originator: address@hidden
> > What is (terminal-coding-system) set to?
> When?  After (set-language-environment "Cyrillic-KOI8")?  nil

Then set it to whatever your terminal supports (koi8-r, I presume, but
that's a guess).  "M-x set-terminal-coding-system RET koi8-r RET".

Alternatively, try "(set-locale-environment koi8-r)", and see if that
does what you want.  This will also set your keyboard encoding to
koi8-r, and I'm not sure you want that.  (Maybe you should consider
describing more about what you want: what files do you want to edit,
how would you like your keyboard to be set, and what characters can
your terminal display.  There are probably a couple of lines you need
to add to your .emacs to get what you want, but it's hard to give
advice without knowing the conditions.)

> > If your LANG or LC_ALL environment variables are set appropriately,
> > Emacs should automatically use the correct terminal-coding-system,
> > language-environment etc.
> Irrelevant.  I can't set LANG.

That's quite understandable, but set-locale-environment from within
Emacs has the same effect on Emacs, and doesn't affect anything but

reply via email to

[Prev in Thread] Current Thread [Next in Thread]