emacs-devel
[Top][All Lists]
Advanced

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

Re: "Outer world" encoding for non-Latin1 language environments


From: Anton Zinoviev
Subject: Re: "Outer world" encoding for non-Latin1 language environments
Date: Tue, 5 Mar 2002 12:57:39 +0200
User-agent: Mutt/1.2.5i

Thanks to all who replied!

On  1.III.2002 at 21:57 (+0200) Eli Zaretskii wrote:
> > Date: Fri, 1 Mar 2002 20:00:58 +0200
> > From: Anton Zinoviev <address@hidden>
> > 
> > I was under impression that Emacs doesn't support compound-text.  It
> > doesn't touch command sequences and pasting from xterm gives something
> > like:
> > 
> > ^[%/1\200\212\koi8-r^B......
> > 
> > where dots are Latin-1 letters instead of Cyrillic.
> 
> The current CVS version and the pretest of Emacs 21.2 do support the
> above.  Please try a newser version.

Pasting from xterm in utf-8 mode works fine.  I think that pasting
from koi8-r generates double-width Cyrillic letters from JISX0208
instead of regular Cyrillic letters from ISO 8859-5.

I tried rgrep koi8-r on sources and couldn't find where the clipboard
support is located.  Where is it?

> > In this case setting the keyboard won't make any harm to this user, as
> > then he or she can use some of the input methods provided by Emacs.
> > There is no situation when it might be usefull if Emacs interprets my
> > Cyrillic input as Latin1.
> 
> See Stefan's response: the default is not Latin-1, and Emacs should
> interpret your keyboard input correctly even without
> keyboard-coding-system being set.  If that doesn't work, please tell
> the details; perhaps there's some bug.

The bug is in lisp/international/mule-cmds.el: Latin-5 is stated to be
coding system for some of the Cyrillic locales.  However Latin-5 is
actually ISO 8859-9 (quiet similar to Latin-1) and has nothing to do
with ISO 8859-5 (Cyrillic-ISO).

I observed a change between Emacs I used before and Emacs as I got it
from CVS.  If I set the keyboard coding system apropriately, the
previous version of Emacs worked fine both on the text-mode console
and in X Window.  The last version of Emacs works in text-mode as well
but in X Window it only beeps on non-ASCII symbols.  It would be nice
if Emacs understood directly xkeysyms but the previous behaviour is
also fine.  The version of Emacs I used before is 21.1.1 from Debian
and uses Athena widget.  I compiled the new version of Emacs with
Lesstif.

Regards, Anton Zinoviev





reply via email to

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