help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Emacs in xterm and Cyrillic?


From: Peter Dyballa
Subject: Re: Emacs in xterm and Cyrillic?
Date: Mon, 4 Apr 2005 19:43:35 +0200


Am 04.04.2005 um 01:34 schrieb vedm:

When I start emacs in xterm (emacs -nw) I can not read Cyrillic text: I
see only question marks.

First you should set in GNU Emacs a language environment: Cyrillic-ALT, Cyrillic-ISO, Cyrillic-KOI8, Ukrainian ... This should already prepare most things.

If this doesn't help yet, then there are environment variables in xterm's shell, LANG and LC_CTYPE. GNU Emacs 22 will reverse this sequence.

If this still is not sufficient you have in GNU Emacs a few variables and functions with 'coding-system' you can set, for example:

        (set-terminal-coding-system             'XXX)
        (prefer-coding-system                   'XXX)
        (setq default-buffer-file-coding-system 'XXX)

--
Greetings

  Pete





reply via email to

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