[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems displaying UTF-8 coded cyrillic characters in terminal mode
From: |
Kamen TOMOV |
Subject: |
Re: Problems displaying UTF-8 coded cyrillic characters in terminal mode |
Date: |
02 Aug 2004 12:04:20 +0300 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
On Sat, Jul 31 2004, Jason Rumney wrote:
> > 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.
Thanks for that. I tried these functions by putting them in .emacs but
I didn't see much difference. I solved the problem by making the
terminal UTF-8 aware and now emacs can display text in different
encodings including UTF-8.
Regards,
--
Kamen A. TOMOV
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Problems displaying UTF-8 coded cyrillic characters in terminal mode,
Kamen TOMOV <=