Peter Dyballa <[EMAIL PROTECTED]> writes: > 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) >
Thanks for the help, it turned out that the following solves the problem: (set-terminal-coding-system 'iso-8859-5) That's because in my .Xdefaults I have this: == Rxvt*font: -misc-fixed-medium-r-normal-*-20-200-*-75-c-100-iso8859-5 xterm*font: -misc-fixed-medium-r-normal-*-18-*-*-*-*-*-iso8859-5 == (iso-8859-5 is the standard cyrillic encoding, although it is much less used than the Microsoft non-standard cp1251 aka windows-1251) -- vedm _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs