annotate lisp/language/cyrillic.el @ 89076:17b36ecfa8a8

(mm-hack-charsets, mm-iso-8859-15-compatible) (mm-iso-8859-x-to-15-table): Deleted. (mm-find-mime-charset-region): Remove hack-charsets stuff.
author Dave Love <fx@gnu.org>
date Thu, 05 Sep 2002 17:38:15 +0000
parents 8f20edeaf2e8
children af4d3d2b9101
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
38414
67b464da13ec Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents: 37112
diff changeset
1 ;;; cyrillic.el --- support for Cyrillic -*- coding: iso-2022-7bit; -*-
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
2
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
3 ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN.
18454
b44129078db3 Update copyright notice.
Richard M. Stallman <rms@gnu.org>
parents: 18308
diff changeset
4 ;; Licensed to the Free Software Foundation.
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
5
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
6 ;; Keywords: multilingual, Cyrillic
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
7
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
8 ;; This file is part of GNU Emacs.
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
9
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
10 ;; GNU Emacs is free software; you can redistribute it and/or modify
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
11 ;; it under the terms of the GNU General Public License as published by
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
12 ;; the Free Software Foundation; either version 2, or (at your option)
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
13 ;; any later version.
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
14
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
15 ;; GNU Emacs is distributed in the hope that it will be useful,
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
18 ;; GNU General Public License for more details.
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
19
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
20 ;; You should have received a copy of the GNU General Public License
17071
70194012fb3a Fix FSF address in comment.
Karl Heuer <kwzh@gnu.org>
parents: 17052
diff changeset
21 ;; along with GNU Emacs; see the file COPYING. If not, write to the
70194012fb3a Fix FSF address in comment.
Karl Heuer <kwzh@gnu.org>
parents: 17052
diff changeset
22 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
70194012fb3a Fix FSF address in comment.
Karl Heuer <kwzh@gnu.org>
parents: 17052
diff changeset
23 ;; Boston, MA 02111-1307, USA.
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
24
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
25 ;;; Commentary:
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
26
37112
9bd793285be5 comment
Dave Love <fx@gnu.org>
parents: 33778
diff changeset
27 ;; The character set ISO8859-5 is supported. See
9bd793285be5 comment
Dave Love <fx@gnu.org>
parents: 33778
diff changeset
28 ;; http://www.ecma.ch/ecma1/STAND/ECMA-113.HTM. KOI-8 and
9bd793285be5 comment
Dave Love <fx@gnu.org>
parents: 33778
diff changeset
29 ;; ALTERNATIVNYJ are converted to ISO8859-5 internally.
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
30
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
31 ;;; Code:
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
32
19451
933bea774c3c Make describe-cyrillic-environment-map and
Kenichi Handa <handa@m17n.org>
parents: 18520
diff changeset
33 ;; Cyrillic (general)
933bea774c3c Make describe-cyrillic-environment-map and
Kenichi Handa <handa@m17n.org>
parents: 18520
diff changeset
34
88531
3080874809b6 (koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love <fx@gnu.org>
parents: 88512
diff changeset
35 ;; ISO-8859-5 stuff
17085
4dafa5431293 Change coding system name koi8 to koi8-r.
Kenichi Handa <handa@m17n.org>
parents: 17071
diff changeset
36
88414
fad0f879877f Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents: 42152
diff changeset
37 (define-coding-system 'cyrillic-iso-8bit
fad0f879877f Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents: 42152
diff changeset
38 "ISO 2022 based 8-bit encoding for Cyrillic script (MIME:ISO-8859-5)."
fad0f879877f Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents: 42152
diff changeset
39 :coding-type 'charset
fad0f879877f Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents: 42152
diff changeset
40 :mnemonic ?5
fad0f879877f Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents: 42152
diff changeset
41 :charset-list '(iso-8859-5)
88512
1e2fb9a9f29c (cyrillic-iso-8bit, cyrillic-koi8)
Dave Love <fx@gnu.org>
parents: 88414
diff changeset
42 :mime-charset 'iso-8859-5)
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
43
18520
383d11185239 Swap args to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents: 18454
diff changeset
44 (define-coding-system-alias 'iso-8859-5 'cyrillic-iso-8bit)
18308
b8622afb8a6e Don't make the keymap
Kenichi Handa <handa@m17n.org>
parents: 18203
diff changeset
45
19451
933bea774c3c Make describe-cyrillic-environment-map and
Kenichi Handa <handa@m17n.org>
parents: 18520
diff changeset
46 (set-language-info-alist
88414
fad0f879877f Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents: 42152
diff changeset
47 "Cyrillic-ISO" '((charset iso-8859-5)
20745
00aa1d4fa378 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20233
diff changeset
48 (coding-system cyrillic-iso-8bit)
00aa1d4fa378 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20233
diff changeset
49 (coding-priority cyrillic-iso-8bit)
88414
fad0f879877f Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents: 42152
diff changeset
50 (nonascii-translation . iso-8859-5)
22983
7a010b8c0d99 ("LANUGAGE-ENVIRONMENT"): Delete property setup-function or change
Kenichi Handa <handa@m17n.org>
parents: 22881
diff changeset
51 (input-method . "cyrillic-yawerty")
7a010b8c0d99 ("LANUGAGE-ENVIRONMENT"): Delete property setup-function or change
Kenichi Handa <handa@m17n.org>
parents: 22881
diff changeset
52 (unibyte-display . cyrillic-iso-8bit)
7a010b8c0d99 ("LANUGAGE-ENVIRONMENT"): Delete property setup-function or change
Kenichi Handa <handa@m17n.org>
parents: 22881
diff changeset
53 (features cyril-util)
19451
933bea774c3c Make describe-cyrillic-environment-map and
Kenichi Handa <handa@m17n.org>
parents: 18520
diff changeset
54 (sample-text . "Russian (,L@caaZXY(B) ,L7T`PRabRcYbU(B!")
20745
00aa1d4fa378 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20233
diff changeset
55 (documentation . "Support for Cyrillic ISO-8859-5."))
00aa1d4fa378 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20233
diff changeset
56 '("Cyrillic"))
19451
933bea774c3c Make describe-cyrillic-environment-map and
Kenichi Handa <handa@m17n.org>
parents: 18520
diff changeset
57
88531
3080874809b6 (koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love <fx@gnu.org>
parents: 88512
diff changeset
58 ;; KOI-8 stuff
17085
4dafa5431293 Change coding system name koi8 to koi8-r.
Kenichi Handa <handa@m17n.org>
parents: 17071
diff changeset
59
88414
fad0f879877f Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents: 42152
diff changeset
60 (define-coding-system 'cyrillic-koi8
fad0f879877f Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents: 42152
diff changeset
61 "KOI8 8-bit encoding for Cyrillic (MIME: KOI8-R)."
fad0f879877f Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents: 42152
diff changeset
62 :coding-type 'charset
fad0f879877f Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents: 42152
diff changeset
63 ;; We used to use ?K. It is true that ?K is more strictly correct,
fad0f879877f Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents: 42152
diff changeset
64 ;; but it is also used for Korean. So people who use koi8 for
fad0f879877f Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents: 42152
diff changeset
65 ;; languages other than Russian will have to forgive us.
fad0f879877f Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents: 42152
diff changeset
66 :mnemonic ?R
fad0f879877f Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents: 42152
diff changeset
67 :charset-list '(koi8)
88512
1e2fb9a9f29c (cyrillic-iso-8bit, cyrillic-koi8)
Dave Love <fx@gnu.org>
parents: 88414
diff changeset
68 :mime-charset 'koi8-r)
17085
4dafa5431293 Change coding system name koi8 to koi8-r.
Kenichi Handa <handa@m17n.org>
parents: 17071
diff changeset
69
18520
383d11185239 Swap args to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents: 18454
diff changeset
70 (define-coding-system-alias 'koi8-r 'cyrillic-koi8)
383d11185239 Swap args to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents: 18454
diff changeset
71 (define-coding-system-alias 'koi8 'cyrillic-koi8)
88512
1e2fb9a9f29c (cyrillic-iso-8bit, cyrillic-koi8)
Dave Love <fx@gnu.org>
parents: 88414
diff changeset
72 (define-coding-system-alias 'cp878 'cyrillic-koi8)
17085
4dafa5431293 Change coding system name koi8 to koi8-r.
Kenichi Handa <handa@m17n.org>
parents: 17071
diff changeset
73
19451
933bea774c3c Make describe-cyrillic-environment-map and
Kenichi Handa <handa@m17n.org>
parents: 18520
diff changeset
74 (set-language-info-alist
88414
fad0f879877f Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents: 42152
diff changeset
75 "Cyrillic-KOI8" `((charset koi8)
20745
00aa1d4fa378 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20233
diff changeset
76 (coding-system cyrillic-koi8)
00aa1d4fa378 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20233
diff changeset
77 (coding-priority cyrillic-koi8)
88414
fad0f879877f Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents: 42152
diff changeset
78 (nonascii-translation . koi8)
24946
0856eb4dd6ec ("Cyrillic-KOI8", "Cyrillic-ALT"): Use cyrillic-jcuken as default input method.
Richard M. Stallman <rms@gnu.org>
parents: 24297
diff changeset
79 (input-method . "cyrillic-jcuken")
22983
7a010b8c0d99 ("LANUGAGE-ENVIRONMENT"): Delete property setup-function or change
Kenichi Handa <handa@m17n.org>
parents: 22881
diff changeset
80 (features cyril-util)
7a010b8c0d99 ("LANUGAGE-ENVIRONMENT"): Delete property setup-function or change
Kenichi Handa <handa@m17n.org>
parents: 22881
diff changeset
81 (unibyte-display . cyrillic-koi8)
19451
933bea774c3c Make describe-cyrillic-environment-map and
Kenichi Handa <handa@m17n.org>
parents: 18520
diff changeset
82 (sample-text . "Russian (,L@caaZXY(B) ,L7T`PRabRcYbU(B!")
22881
e0e17bbd8e6c (cyrillic-koi8-r-decode-table): New
Kenichi Handa <handa@m17n.org>
parents: 21663
diff changeset
83 (documentation . "Support for Cyrillic KOI8-R."))
20745
00aa1d4fa378 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20233
diff changeset
84 '("Cyrillic"))
19451
933bea774c3c Make describe-cyrillic-environment-map and
Kenichi Handa <handa@m17n.org>
parents: 18520
diff changeset
85
88531
3080874809b6 (koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love <fx@gnu.org>
parents: 88512
diff changeset
86 ;;; ALTERNATIVNYJ stuff
17085
4dafa5431293 Change coding system name koi8 to koi8-r.
Kenichi Handa <handa@m17n.org>
parents: 17071
diff changeset
87
88414
fad0f879877f Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents: 42152
diff changeset
88 (define-coding-system 'cyrillic-alternativnyj
fad0f879877f Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents: 42152
diff changeset
89 "ALTERNATIVNYJ 8-bit encoding for Cyrillic."
fad0f879877f Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents: 42152
diff changeset
90 :coding-type 'charset
fad0f879877f Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents: 42152
diff changeset
91 :mnemonic ?A
88512
1e2fb9a9f29c (cyrillic-iso-8bit, cyrillic-koi8)
Dave Love <fx@gnu.org>
parents: 88414
diff changeset
92 :charset-list '(alternativnyj)
1e2fb9a9f29c (cyrillic-iso-8bit, cyrillic-koi8)
Dave Love <fx@gnu.org>
parents: 88414
diff changeset
93 :mime-charset 'cp866)
17085
4dafa5431293 Change coding system name koi8 to koi8-r.
Kenichi Handa <handa@m17n.org>
parents: 17071
diff changeset
94
18520
383d11185239 Swap args to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents: 18454
diff changeset
95 (define-coding-system-alias 'alternativnyj 'cyrillic-alternativnyj)
88512
1e2fb9a9f29c (cyrillic-iso-8bit, cyrillic-koi8)
Dave Love <fx@gnu.org>
parents: 88414
diff changeset
96 (define-coding-system-alias 'cp866 'cyrillic-alternativnyj)
18308
b8622afb8a6e Don't make the keymap
Kenichi Handa <handa@m17n.org>
parents: 18203
diff changeset
97
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
98 (set-language-info-alist
88414
fad0f879877f Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents: 42152
diff changeset
99 "Cyrillic-ALT" `((charset alternativnyj)
20745
00aa1d4fa378 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20233
diff changeset
100 (coding-system cyrillic-alternativnyj)
00aa1d4fa378 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20233
diff changeset
101 (coding-priority cyrillic-alternativnyj)
88414
fad0f879877f Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents: 42152
diff changeset
102 (nonascii-translation . alternativnyj)
24946
0856eb4dd6ec ("Cyrillic-KOI8", "Cyrillic-ALT"): Use cyrillic-jcuken as default input method.
Richard M. Stallman <rms@gnu.org>
parents: 24297
diff changeset
103 (input-method . "cyrillic-jcuken")
22983
7a010b8c0d99 ("LANUGAGE-ENVIRONMENT"): Delete property setup-function or change
Kenichi Handa <handa@m17n.org>
parents: 22881
diff changeset
104 (features cyril-util)
7a010b8c0d99 ("LANUGAGE-ENVIRONMENT"): Delete property setup-function or change
Kenichi Handa <handa@m17n.org>
parents: 22881
diff changeset
105 (unibyte-display . cyrillic-alternativnyj)
19451
933bea774c3c Make describe-cyrillic-environment-map and
Kenichi Handa <handa@m17n.org>
parents: 18520
diff changeset
106 (sample-text . "Russian (,L@caaZXY(B) ,L7T`PRabRcYbU(B!")
20745
00aa1d4fa378 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20233
diff changeset
107 (documentation . "Support for Cyrillic ALTERNATIVNYJ."))
00aa1d4fa378 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20233
diff changeset
108 '("Cyrillic"))
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
109
88531
3080874809b6 (koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love <fx@gnu.org>
parents: 88512
diff changeset
110 (define-coding-system 'koi8-u
3080874809b6 (koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love <fx@gnu.org>
parents: 88512
diff changeset
111 "KOI8-U 8-bit encoding for Cyrillic (MIME: KOI8-U)"
3080874809b6 (koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love <fx@gnu.org>
parents: 88512
diff changeset
112 :coding-type 'charset
3080874809b6 (koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love <fx@gnu.org>
parents: 88512
diff changeset
113 :mnemonic ?U
3080874809b6 (koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love <fx@gnu.org>
parents: 88512
diff changeset
114 :charset-list '(koi8-u)
3080874809b6 (koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love <fx@gnu.org>
parents: 88512
diff changeset
115 :mime-charset 'koi8-u)
3080874809b6 (koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love <fx@gnu.org>
parents: 88512
diff changeset
116
3080874809b6 (koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love <fx@gnu.org>
parents: 88512
diff changeset
117 (define-coding-system 'koi8-t
88766
4eeed541231e ("Belarusian"): Doc fix.
Dave Love <fx@gnu.org>
parents: 88733
diff changeset
118 "KOI8-T 8-bit encoding for Cyrillic"
88531
3080874809b6 (koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love <fx@gnu.org>
parents: 88512
diff changeset
119 :coding-type 'charset
3080874809b6 (koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love <fx@gnu.org>
parents: 88512
diff changeset
120 :mnemonic ?*
3080874809b6 (koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love <fx@gnu.org>
parents: 88512
diff changeset
121 :charset-list '(koi8-t)
3080874809b6 (koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love <fx@gnu.org>
parents: 88512
diff changeset
122 :mime-charset 'koi8-t)
3080874809b6 (koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love <fx@gnu.org>
parents: 88512
diff changeset
123
3080874809b6 (koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love <fx@gnu.org>
parents: 88512
diff changeset
124 (define-coding-system 'windows-1251
3080874809b6 (koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love <fx@gnu.org>
parents: 88512
diff changeset
125 "windows-1251 8-bit encoding for Cyrillic (MIME: WINDOWS-1251)"
3080874809b6 (koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love <fx@gnu.org>
parents: 88512
diff changeset
126 :coding-type 'charset
3080874809b6 (koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love <fx@gnu.org>
parents: 88512
diff changeset
127 :mnemonic ?b
3080874809b6 (koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love <fx@gnu.org>
parents: 88512
diff changeset
128 :charset-list '(windows-1251)
3080874809b6 (koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love <fx@gnu.org>
parents: 88512
diff changeset
129 :mime-charset 'windows-1251)
3080874809b6 (koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love <fx@gnu.org>
parents: 88512
diff changeset
130 (define-coding-system-alias 'cp1251 'windows-1251)
3080874809b6 (koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love <fx@gnu.org>
parents: 88512
diff changeset
131
3080874809b6 (koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love <fx@gnu.org>
parents: 88512
diff changeset
132 (define-coding-system 'cp1125
88766
4eeed541231e ("Belarusian"): Doc fix.
Dave Love <fx@gnu.org>
parents: 88733
diff changeset
133 "cp1125 8-bit encoding for Cyrillic"
88531
3080874809b6 (koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love <fx@gnu.org>
parents: 88512
diff changeset
134 :coding-type 'charset
3080874809b6 (koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love <fx@gnu.org>
parents: 88512
diff changeset
135 :mnemonic ?*
3080874809b6 (koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love <fx@gnu.org>
parents: 88512
diff changeset
136 :charset-list '(cp1125))
3080874809b6 (koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love <fx@gnu.org>
parents: 88512
diff changeset
137 (define-coding-system-alias 'ruscii 'cp1125)
3080874809b6 (koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love <fx@gnu.org>
parents: 88512
diff changeset
138 ;; Original name for cp1125, says Serhii Hlodin <hlodin@lutsk.bank.gov.ua>
3080874809b6 (koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love <fx@gnu.org>
parents: 88512
diff changeset
139 (define-coding-system-alias 'cp866u 'cp1125)
3080874809b6 (koi8-u, koi8-t, windows-1251, cp1125): New
Dave Love <fx@gnu.org>
parents: 88512
diff changeset
140
88615
fc355fbbbbcc (cp855, ibm855): New coding systems.
Dave Love <fx@gnu.org>
parents: 88531
diff changeset
141 (define-coding-system 'cp855
fc355fbbbbcc (cp855, ibm855): New coding systems.
Dave Love <fx@gnu.org>
parents: 88531
diff changeset
142 "DOS codepage 855 (Russian)"
fc355fbbbbcc (cp855, ibm855): New coding systems.
Dave Love <fx@gnu.org>
parents: 88531
diff changeset
143 :coding-type 'charset
fc355fbbbbcc (cp855, ibm855): New coding systems.
Dave Love <fx@gnu.org>
parents: 88531
diff changeset
144 :mnemonic ?D
fc355fbbbbcc (cp855, ibm855): New coding systems.
Dave Love <fx@gnu.org>
parents: 88531
diff changeset
145 :charset-list '(cp855)
fc355fbbbbcc (cp855, ibm855): New coding systems.
Dave Love <fx@gnu.org>
parents: 88531
diff changeset
146 :mime-charset 'cp855)
fc355fbbbbcc (cp855, ibm855): New coding systems.
Dave Love <fx@gnu.org>
parents: 88531
diff changeset
147 (define-coding-system-alias 'ibm855 'cp855)
fc355fbbbbcc (cp855, ibm855): New coding systems.
Dave Love <fx@gnu.org>
parents: 88531
diff changeset
148
88733
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
149 ;; (set-language-info-alist
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
150 ;; "Windows-1251" `((coding-system windows-1251)
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
151 ;; (coding-priority windows-1251)
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
152 ;; (input-method . "russian-typewriter") ; fixme?
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
153 ;; (features code-pages)
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
154 ;; (documentation . "Support for windows-1251 character set."))
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
155 ;; '("Cyrillic"))
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
156
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
157 (set-language-info-alist
88991
8f20edeaf2e8 ("Tajik", "Bulgarian", "Belarusian"): Add
Dave Love <fx@gnu.org>
parents: 88766
diff changeset
158 "Tajik" `((coding-system koi8-t)
8f20edeaf2e8 ("Tajik", "Bulgarian", "Belarusian"): Add
Dave Love <fx@gnu.org>
parents: 88766
diff changeset
159 (coding-priority koi8-t)
88733
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
160 (nonascii-translation . cyrillic-koi8-t)
88991
8f20edeaf2e8 ("Tajik", "Bulgarian", "Belarusian"): Add
Dave Love <fx@gnu.org>
parents: 88766
diff changeset
161 (charset . koi8-t)
88733
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
162 (input-method . "russian-typewriter") ; fixme?
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
163 (features code-pages)
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
164 (documentation . "Support for Tajik using KOI8-T."))
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
165 '("Cyrillic"))
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
166
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
167 (set-language-info-alist
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
168 "Bulgarian" `((coding-system windows-1251)
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
169 (coding-priority windows-1251)
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
170 (nonascii-translation . windows-1251)
88991
8f20edeaf2e8 ("Tajik", "Bulgarian", "Belarusian"): Add
Dave Love <fx@gnu.org>
parents: 88766
diff changeset
171 (charset . windows-1251)
88733
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
172 (input-method . "bulgarian-standard")
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
173 (features code-pages)
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
174 (documentation
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
175 . "Support for Bulgrian with windows-1251 character set."))
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
176 '("Cyrillic"))
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
177
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
178 (set-language-info-alist
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
179 "Belarusian" `((coding-system windows-1251)
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
180 (coding-priority windows-1251)
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
181 (nonascii-translation . windows-1251)
88991
8f20edeaf2e8 ("Tajik", "Bulgarian", "Belarusian"): Add
Dave Love <fx@gnu.org>
parents: 88766
diff changeset
182 (charset . windows-1251)
88733
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
183 (input-method . "belarusian")
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
184 (features code-pages)
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
185 (documentation
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
186 . "Support for Belarusian with windows-1251 character set.
88766
4eeed541231e ("Belarusian"): Doc fix.
Dave Love <fx@gnu.org>
parents: 88733
diff changeset
187 \(The name Belarusian replaced Byelorussian in the early 1990s.)"))
88733
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
188 '("Cyrillic"))
bd5a6493c5fc ("Tajik", "Bulgarian", "Belarusian"): New
Dave Love <fx@gnu.org>
parents: 88615
diff changeset
189
88991
8f20edeaf2e8 ("Tajik", "Bulgarian", "Belarusian"): Add
Dave Love <fx@gnu.org>
parents: 88766
diff changeset
190 (set-language-info-alist
8f20edeaf2e8 ("Tajik", "Bulgarian", "Belarusian"): Add
Dave Love <fx@gnu.org>
parents: 88766
diff changeset
191 "Ukrainian" `((coding-system koi8-u)
8f20edeaf2e8 ("Tajik", "Bulgarian", "Belarusian"): Add
Dave Love <fx@gnu.org>
parents: 88766
diff changeset
192 (coding-priority koi8-u)
8f20edeaf2e8 ("Tajik", "Bulgarian", "Belarusian"): Add
Dave Love <fx@gnu.org>
parents: 88766
diff changeset
193 (input-method . "ukrainian-computer")
8f20edeaf2e8 ("Tajik", "Bulgarian", "Belarusian"): Add
Dave Love <fx@gnu.org>
parents: 88766
diff changeset
194 (documentation
8f20edeaf2e8 ("Tajik", "Bulgarian", "Belarusian"): Add
Dave Love <fx@gnu.org>
parents: 88766
diff changeset
195 . "Support for Ukrainian with koi8-u character set."))
8f20edeaf2e8 ("Tajik", "Bulgarian", "Belarusian"): Add
Dave Love <fx@gnu.org>
parents: 88766
diff changeset
196 '("Cyrillic"))
8f20edeaf2e8 ("Tajik", "Bulgarian", "Belarusian"): Add
Dave Love <fx@gnu.org>
parents: 88766
diff changeset
197
33778
6d966e8b4bbe Use provide.
Dave Love <fx@gnu.org>
parents: 30495
diff changeset
198 (provide 'cyrillic)
6d966e8b4bbe Use provide.
Dave Love <fx@gnu.org>
parents: 30495
diff changeset
199
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
200 ;;; cyrillic.el ends here