Mercurial > emacs
annotate lisp/language/japanese.el @ 89760:292dab2b369e
Load cp51932 and eucjp-ms.
(japanese-ucs-cp932-map, japanese-ucs-jis-map)
(japanese-ucs-glibc-map): New translation tables.
(eucjp-ms): New coding system.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 27 Jan 2004 02:39:40 +0000 |
parents | eba27ade3d5c |
children | c0e5e49686a6 |
rev | line source |
---|---|
47726
33d53d287ee4
Add "no-byte-compile: t" in first line.
Juanma Barranquero <lekktu@gmail.com>
parents:
43538
diff
changeset
|
1 ;;; japanese.el --- support for Japanese -*- coding: iso-2022-7bit; no-byte-compile: t -*- |
17052 | 2 |
3 ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN. | |
89483 | 4 ;; Licensed to the Free Software Foundation. |
5 ;; Copyright (C) 2003 | |
6 ;; National Institute of Advanced Industrial Science and Technology (AIST) | |
7 ;; Registration Number H13PRO009 | |
17052 | 8 |
9 ;; Keywords: multilingual, Japanese | |
10 | |
11 ;; This file is part of GNU Emacs. | |
12 | |
13 ;; GNU Emacs is free software; you can redistribute it and/or modify | |
14 ;; it under the terms of the GNU General Public License as published by | |
15 ;; the Free Software Foundation; either version 2, or (at your option) | |
16 ;; any later version. | |
17 | |
18 ;; GNU Emacs is distributed in the hope that it will be useful, | |
19 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
20 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
21 ;; GNU General Public License for more details. | |
22 | |
23 ;; You should have received a copy of the GNU General Public License | |
17071 | 24 ;; along with GNU Emacs; see the file COPYING. If not, write to the |
25 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
26 ;; Boston, MA 02111-1307, USA. | |
17052 | 27 |
28 ;;; Commentary: | |
29 | |
30 ;; For Japanese, character sets JISX0201, JISX0208, JISX0212 are | |
31 ;; supported. | |
32 | |
33 ;;; Code: | |
34 | |
89760
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
35 ;;; Load translation tables for CP932. |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
36 (load "international/cp51932") |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
37 (load "international/eucjp-ms") |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
38 |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
39 (define-coding-system 'iso-2022-jp |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
40 "ISO 2022 based 7bit encoding for Japanese (MIME:ISO-2022-JP)." |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
41 :coding-type 'iso-2022 |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
42 :mnemonic ?J |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
43 :designation [(ascii japanese-jisx0208-1978 japanese-jisx0208 |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
44 latin-jisx0201 japanese-jisx0212) |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
45 nil nil nil] |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
46 :flags '(short ascii-at-eol ascii-at-cntl 7-bit designation) |
89564
b1aa1cb0e3f6
(iso-2022-jp, iso-2022-jp-2, japanese-iso-8bit): Fix the order of
Kenichi Handa <handa@m17n.org>
parents:
89483
diff
changeset
|
47 :charset-list '(ascii japanese-jisx0208 japanese-jisx0212 |
b1aa1cb0e3f6
(iso-2022-jp, iso-2022-jp-2, japanese-iso-8bit): Fix the order of
Kenichi Handa <handa@m17n.org>
parents:
89483
diff
changeset
|
48 japanese-jisx0208-1978 latin-jisx0201) |
88513 | 49 :mime-charset 'iso-2022-jp) |
19283
43b3f86776e4
Make coding system iso-2022-jp instead of
Kenichi Handa <handa@m17n.org>
parents:
18577
diff
changeset
|
50 |
43b3f86776e4
Make coding system iso-2022-jp instead of
Kenichi Handa <handa@m17n.org>
parents:
18577
diff
changeset
|
51 (define-coding-system-alias 'junet 'iso-2022-jp) |
17088
76d2eb70aa0b
Remove prefix "coding-system-" from coding system symbol names.
Kenichi Handa <handa@m17n.org>
parents:
17071
diff
changeset
|
52 |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
53 (define-coding-system 'iso-2022-jp-2 |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
54 "ISO 2022 based 7bit encoding for CJK, Latin-1, Greek (MIME:ISO-2022-JP-2)." |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
55 :coding-type 'iso-2022 |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
56 :mnemonic ?J |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
57 :designation [(ascii japanese-jisx0208-1978 japanese-jisx0208 |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
58 latin-jisx0201 japanese-jisx0212 |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
59 chinese-gb2312 korean-ksc5601) |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
60 nil |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
61 (nil latin-iso8859-1 greek-iso8859-7) |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
62 nil] |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
63 :flags '(short ascii-at-eol ascii-at-cntl 7-bit designation single-shift |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
64 init-at-bol) |
89564
b1aa1cb0e3f6
(iso-2022-jp, iso-2022-jp-2, japanese-iso-8bit): Fix the order of
Kenichi Handa <handa@m17n.org>
parents:
89483
diff
changeset
|
65 :charset-list '(ascii japanese-jisx0208 japanese-jisx0212 |
b1aa1cb0e3f6
(iso-2022-jp, iso-2022-jp-2, japanese-iso-8bit): Fix the order of
Kenichi Handa <handa@m17n.org>
parents:
89483
diff
changeset
|
66 latin-jisx0201 japanese-jisx0208-1978 |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
67 chinese-gb2312 korean-ksc5601 |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
68 latin-iso8859-1 greek-iso8859-7) |
88513 | 69 :mime-charset 'iso-2022-jp-2) |
24332
29c0557957ba
(iso-2022-jp-2): New coding system.
Kenichi Handa <handa@m17n.org>
parents:
24327
diff
changeset
|
70 |
89760
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
71 (let ((map ; SJIS vs CP932 |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
72 '((#x301C . #xFF5E) ; WAVE DASH FULLWIDTH TILDE |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
73 (#x2016 . #x2225) ; DOUBLE VERTICAL LINE PARALLEL TO |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
74 (#x2212 . #xFF0D) ; MINUS SIGN FULLWIDTH HYPHEN-MINUS |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
75 (#x00A2 . #xFFE0) ; CENT SIGN FULLWIDTH CENT SIGN |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
76 (#x00A3 . #xFFE1) ; POUND SIGN FULLWIDTH POUND SIGN |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
77 (#x00AC . #xFFE2) ; NOT SIGN FULLWIDTH NOT SIGN |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
78 ))) |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
79 (define-translation-table 'japanese-ucs-cp932-map map) |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
80 (mapc #'(lambda (x) (let ((tmp (car x))) |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
81 (setcar x (cdr x)) (setcdr x tmp))) |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
82 map) |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
83 (define-translation-table 'japanese-ucs-jis-map map) |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
84 (define-translation-table 'japanese-ucs-glibc-map map)) |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
85 |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
86 ;; U+2014 (EM DASH) vs U+2015 (HORIZONTAL BAR) |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
87 (aset (get 'japanese-ucs-cp932-map 'translation-table) #x2014 #x2015) |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
88 (aset (get 'japanese-ucs-jis-map 'translation-table) #x2015 #x2014) |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
89 (aset (get 'japanese-ucs-glibc-map 'translation-table) #x2014 #x2015) |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
90 |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
91 (define-coding-system 'japanese-shift-jis |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
92 "Shift-JIS 8-bit encoding for Japanese (MIME:SHIFT_JIS)" |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
93 :coding-type 'shift-jis |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
94 :mnemonic ?S |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
95 :charset-list '(ascii katakana-jisx0201 japanese-jisx0208) |
88513 | 96 :mime-charset 'shift_jis) |
17052 | 97 |
18520
383d11185239
Swap args to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents:
18377
diff
changeset
|
98 (define-coding-system-alias 'shift_jis 'japanese-shift-jis) |
383d11185239
Swap args to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents:
18377
diff
changeset
|
99 (define-coding-system-alias 'sjis 'japanese-shift-jis) |
17052 | 100 |
89736
eba27ade3d5c
(japanese-cp932): New coding system.
Kenichi Handa <handa@m17n.org>
parents:
89564
diff
changeset
|
101 (define-coding-system 'japanese-cp932 |
eba27ade3d5c
(japanese-cp932): New coding system.
Kenichi Handa <handa@m17n.org>
parents:
89564
diff
changeset
|
102 "CP932 (Microsoft shift-jis)" |
eba27ade3d5c
(japanese-cp932): New coding system.
Kenichi Handa <handa@m17n.org>
parents:
89564
diff
changeset
|
103 :coding-type 'charset |
eba27ade3d5c
(japanese-cp932): New coding system.
Kenichi Handa <handa@m17n.org>
parents:
89564
diff
changeset
|
104 :mnemonic ?S |
eba27ade3d5c
(japanese-cp932): New coding system.
Kenichi Handa <handa@m17n.org>
parents:
89564
diff
changeset
|
105 :charset-list '(ascii katakana-sjis cp932-2-byte)) |
eba27ade3d5c
(japanese-cp932): New coding system.
Kenichi Handa <handa@m17n.org>
parents:
89564
diff
changeset
|
106 |
eba27ade3d5c
(japanese-cp932): New coding system.
Kenichi Handa <handa@m17n.org>
parents:
89564
diff
changeset
|
107 (define-coding-system-alias 'cp932 'japanese-cp932) |
eba27ade3d5c
(japanese-cp932): New coding system.
Kenichi Handa <handa@m17n.org>
parents:
89564
diff
changeset
|
108 |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
109 (define-coding-system 'japanese-iso-7bit-1978-irv |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
110 "ISO 2022 based 7-bit encoding for Japanese JISX0208-1978 and JISX0201-Roman." |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
111 :coding-type 'iso-2022 |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
112 :mnemonic ?j |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
113 :designation [(latin-jisx0201 japanese-jisx0208-1978 japanese-jisx0208 |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
114 japanese-jisx0212 katakana-jisx0201) |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
115 nil nil nil] |
88686
695cafe7a3bf
(japanese-iso-7bit-1978-irv): Add
Kenichi Handa <handa@m17n.org>
parents:
88668
diff
changeset
|
116 :flags '(short ascii-at-eol ascii-at-cntl 7-bit designation |
695cafe7a3bf
(japanese-iso-7bit-1978-irv): Add
Kenichi Handa <handa@m17n.org>
parents:
88668
diff
changeset
|
117 use-roman use-oldjis) |
695cafe7a3bf
(japanese-iso-7bit-1978-irv): Add
Kenichi Handa <handa@m17n.org>
parents:
88668
diff
changeset
|
118 :charset-list '(ascii latin-jisx0201 japanese-jisx0208-1978 japanese-jisx0208 |
695cafe7a3bf
(japanese-iso-7bit-1978-irv): Add
Kenichi Handa <handa@m17n.org>
parents:
88668
diff
changeset
|
119 japanese-jisx0212)) |
17052 | 120 |
18520
383d11185239
Swap args to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents:
18377
diff
changeset
|
121 (define-coding-system-alias 'iso-2022-jp-1978-irv 'japanese-iso-7bit-1978-irv) |
383d11185239
Swap args to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents:
18377
diff
changeset
|
122 (define-coding-system-alias 'old-jis 'japanese-iso-7bit-1978-irv) |
17088
76d2eb70aa0b
Remove prefix "coding-system-" from coding system symbol names.
Kenichi Handa <handa@m17n.org>
parents:
17071
diff
changeset
|
123 |
88414
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
124 (define-coding-system 'japanese-iso-8bit |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
125 "ISO 2022 based EUC encoding for Japanese (MIME:EUC-JP)." |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
126 :coding-type 'iso-2022 |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
127 :mnemonic ?E |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
128 :designation [ascii japanese-jisx0208 katakana-jisx0201 japanese-jisx0212] |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
129 :flags '(short ascii-at-eol ascii-at-cntl single-shift) |
fad0f879877f
Call define-coding-system instead of make-coding-system. All CCL program deleted.
Kenichi Handa <handa@m17n.org>
parents:
43538
diff
changeset
|
130 :charset-list '(ascii latin-jisx0201 japanese-jisx0208 |
89564
b1aa1cb0e3f6
(iso-2022-jp, iso-2022-jp-2, japanese-iso-8bit): Fix the order of
Kenichi Handa <handa@m17n.org>
parents:
89483
diff
changeset
|
131 japanese-jisx0208-1978 |
b1aa1cb0e3f6
(iso-2022-jp, iso-2022-jp-2, japanese-iso-8bit): Fix the order of
Kenichi Handa <handa@m17n.org>
parents:
89483
diff
changeset
|
132 katakana-jisx0201 japanese-jisx0212) |
88513 | 133 :mime-charset 'euc-jp) |
17052 | 134 |
18520
383d11185239
Swap args to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents:
18377
diff
changeset
|
135 (define-coding-system-alias 'euc-japan-1990 'japanese-iso-8bit) |
383d11185239
Swap args to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents:
18377
diff
changeset
|
136 (define-coding-system-alias 'euc-japan 'japanese-iso-8bit) |
383d11185239
Swap args to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents:
18377
diff
changeset
|
137 (define-coding-system-alias 'euc-jp 'japanese-iso-8bit) |
17088
76d2eb70aa0b
Remove prefix "coding-system-" from coding system symbol names.
Kenichi Handa <handa@m17n.org>
parents:
17071
diff
changeset
|
138 |
89760
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
139 (define-coding-system 'eucjp-ms |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
140 "eucJP-ms (like EUC-JP but with CP932 extension). |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
141 eucJP-ms is defined in <http://www.opengroup.or.jp/jvc/cde/appendix.html>." |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
142 :coding-type 'iso-2022 |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
143 :mnemonic ?E |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
144 :designation [ascii japanese-jisx0208 katakana-jisx0201 japanese-jisx0212] |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
145 :flags '(short ascii-at-eol ascii-at-cntl single-shift) |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
146 :charset-list '(ascii latin-jisx0201 japanese-jisx0208 |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
147 katakana-jisx0201 japanese-jisx0212) |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
148 :decode-translation-table 'eucjp-ms-decode |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
149 :encode-translation-table 'eucjp-ms-encode) |
292dab2b369e
Load cp51932 and eucjp-ms.
Kenichi Handa <handa@m17n.org>
parents:
89736
diff
changeset
|
150 |
17052 | 151 (set-language-info-alist |
22983
7a010b8c0d99
("LANUGAGE-ENVIRONMENT"): Delete property setup-function or change
Kenichi Handa <handa@m17n.org>
parents:
22564
diff
changeset
|
152 "Japanese" '((setup-function . setup-japanese-environment-internal) |
21462
a7ab22b5cfb3
Tutorial file name changed to TUTORIAL.ja.
Kenichi Handa <handa@m17n.org>
parents:
21375
diff
changeset
|
153 (tutorial . "TUTORIAL.ja") |
20739
5f2c7f919bbf
Adjusted for the change of make-coding-system. Register
Kenichi Handa <handa@m17n.org>
parents:
20159
diff
changeset
|
154 (charset japanese-jisx0208 japanese-jisx0208-1978 |
35332
95ff316255a5
("Japanese"): Add japanese-jisx0213-1 and
Kenichi Handa <handa@m17n.org>
parents:
33778
diff
changeset
|
155 japanese-jisx0212 latin-jisx0201 katakana-jisx0201 |
95ff316255a5
("Japanese"): Add japanese-jisx0213-1 and
Kenichi Handa <handa@m17n.org>
parents:
33778
diff
changeset
|
156 japanese-jisx0213-1 japanese-jisx0213-2) |
20739
5f2c7f919bbf
Adjusted for the change of make-coding-system. Register
Kenichi Handa <handa@m17n.org>
parents:
20159
diff
changeset
|
157 (coding-system iso-2022-jp japanese-iso-8bit |
5f2c7f919bbf
Adjusted for the change of make-coding-system. Register
Kenichi Handa <handa@m17n.org>
parents:
20159
diff
changeset
|
158 japanese-shift-jis japanese-iso-7bit-1978-irv) |
5f2c7f919bbf
Adjusted for the change of make-coding-system. Register
Kenichi Handa <handa@m17n.org>
parents:
20159
diff
changeset
|
159 (coding-priority iso-2022-jp japanese-iso-8bit |
24332
29c0557957ba
(iso-2022-jp-2): New coding system.
Kenichi Handa <handa@m17n.org>
parents:
24327
diff
changeset
|
160 japanese-shift-jis iso-2022-jp-2) |
22983
7a010b8c0d99
("LANUGAGE-ENVIRONMENT"): Delete property setup-function or change
Kenichi Handa <handa@m17n.org>
parents:
22564
diff
changeset
|
161 (input-method . "japanese") |
7a010b8c0d99
("LANUGAGE-ENVIRONMENT"): Delete property setup-function or change
Kenichi Handa <handa@m17n.org>
parents:
22564
diff
changeset
|
162 (features japan-util) |
20739
5f2c7f919bbf
Adjusted for the change of make-coding-system. Register
Kenichi Handa <handa@m17n.org>
parents:
20159
diff
changeset
|
163 (sample-text . "Japanese ($BF|K\8l(B) $B$3$s$K$A$O(B, (I:]FAJ(B") |
17841
084d922fcd78
Coding system names changed as follows:
Kenichi Handa <handa@m17n.org>
parents:
17769
diff
changeset
|
164 (documentation . t))) |
17052 | 165 |
33778 | 166 (provide 'japanese) |
167 | |
17052 | 168 ;;; japanese.el ends here |