* Problems displaying UTF-8 coded cyrillic characters in terminal mode
@ 2004-07-30 9:35 Kamen TOMOV
0 siblings, 0 replies; 3+ messages in thread
From: Kamen TOMOV @ 2004-07-30 9:35 UTC (permalink / raw)
Hello,
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.
Thanks,
--
Kamen A. TOMOV
^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <mailman.2180.1091180351.1960.help-gnu-emacs@gnu.org>]
* Re: Problems displaying UTF-8 coded cyrillic characters in terminal mode
[not found] <mailman.2180.1091180351.1960.help-gnu-emacs@gnu.org>
@ 2004-07-31 9:30 ` Jason Rumney
2004-08-02 9:04 ` Kamen TOMOV
0 siblings, 1 reply; 3+ messages in thread
From: Jason Rumney @ 2004-07-31 9:30 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problems displaying UTF-8 coded cyrillic characters in terminal mode
2004-07-31 9:30 ` Jason Rumney
@ 2004-08-02 9:04 ` Kamen TOMOV
0 siblings, 0 replies; 3+ messages in thread
From: Kamen TOMOV @ 2004-08-02 9:04 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-08-02 9:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-30 9:35 Problems displaying UTF-8 coded cyrillic characters in terminal mode Kamen TOMOV
[not found] <mailman.2180.1091180351.1960.help-gnu-emacs@gnu.org>
2004-07-31 9:30 ` Jason Rumney
2004-08-02 9:04 ` Kamen TOMOV
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.