[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proposal about adding cp1251 (Russian Windoz) encoding in Emacs
From: |
Dave Love |
Subject: |
Re: Proposal about adding cp1251 (Russian Windoz) encoding in Emacs |
Date: |
29 Aug 2002 23:47:57 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Kenichi Handa <handa@etl.go.jp> writes:
> But, I don't know if Emacs automatically switch to that
> lang. env. when started on Windows. Does anyone know that?
Regardless of what happens on Windows, and I don't think it does that,
there isn't generally a language environment for all the relevant
coding systems. I think processing locale specifications (and the
Windows equivalent) should be done differently, but no-one seemed to
agree when this last came up. In particular, I was told it couldn't
work under Windows the same way as POSIX, for reasons I couldn't
follow. (I haven't had a chance to implement something for Emacs 22.)
Note that windows-1251 & al aren't available until code-pages is
explicitly required, since coding system autoloading wasn't installed
and code-pages isn't preloaded. It may interact with the codepage.el
nastiness. (codepage has unfortunate special cases in various parts
of the Mule code and apparently can't be got rid of.)
> Dave, you have improved cyrillic.el greatly. Are the
> following problem already fixed? Could you please comment
> on that?
I don't think there have been any significant changes for Emacs 21.3.
Cyrillic support is basically the same as it always was, since changes
were blocked.
Actually, I don't know what the correct definition for alternativnyj
should be -- I've never found anything that looked `official'. I've
seen suggestions both that it's the same as cp866 and that it's not
the same. I'd welcome an authoritative answer.
I can't check the original mail to see whether it's all accounted for
now, since the list isn't now being gated to gnusnet and I can no
longer access the GNU systems for the archive. I don't know of any
missing features for Cyrillic, though.
[Users of Cyrillic who want improved support can look in
<URL:ftp://dlpx1.dl.ac.uk/fx/emacs/Mule>, which contains versions of
my original changes for use with Emacs 21.1. There are coding
systems, language environments and input methods. However, I think
there are some errors and omissions there which I haven't had time to
check.
Just to show it works, including in Gnus, here's
M-x list-charset-chars windows-1251:
Characters in the coded character set windows-1251.
----------------------------------------------------
0 1 2 3 4 5 6 7 8 9 A B C D E F
0x
1x
2x ! " # $ % & ' ( ) * + , - . /
3x 0 1 2 3 4 5 6 7 8 9 : ; < = > ?
4x @ A B C D E F G H I J K L M N O
5x P Q R S T U V W X Y Z [ \ ] ^ _
6x ` a b c d e f g h i j k l m n o
7x p q r s t u v w x y z { | } ~
8x Ђ Ѓ ‚ ѓ „ … † ‡ € ‰ Љ ‹ Њ Ќ Ћ Џ
9x ђ ‘ ’ “ ” • – — ™ љ › њ ќ ћ џ
Ax Ў ў Ј ¤ Ґ ¦ § Ё © Є « ¬ ® Ї
Bx ° ± І і ґ µ ¶ · ё № є » ј Ѕ ѕ ї
Cx А Б В Г Д Е Ж З И Й К Л М Н О П
Dx Р С Т У Ф Х Ц Ч Ш Щ Ъ Ы Ь Э Ю Я
Ex а б в г д е ж з и й к л м н о п
Fx р с т у ф х ц ч ш щ ъ ы ь э ю я
]