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

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

Re: Problems displaying UTF-8 coded cyrillic characters in terminal mode


From: Jason Rumney
Subject: Re: Problems displaying UTF-8 coded cyrillic characters in terminal mode
Date: Sat, 31 Jul 2004 10:30:15 +0100
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (windows-nt)

Kamen TOMOV <kamen@evrocom.net> writes:

> I'm having problems opening UTF-8 coded files containing text in
> cyrillic in terminal mode. The text appears as '?'. Any other coding
> is displayed properly (CP1251, ISO-8859-5, KOI8-R). The problem exists
> only in terminal mode, e.g. if I start emacs in X mode, everything is
> OK. I'm using GNU Emacs 21.3.1. Any help would be appreciated.

Emacs 21.3 by default does not convert UTF-8 Cyrillic text to
ISO-8859-5 internally. On X, it uses Unicode fonts to display UTF-8
text, and Cyrillic fonts to display the other encodings. In terminal
mode, you only have one terminal encoding, so that is the reason why
you cannot see the UTF-8 text.

See the functions unify-8859-on-encoding-mode and
unify-8859-on-decoding-mode to turn on conversion between UTF-8 and
ISO-8859-5.



reply via email to

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