diff options
| author | Kenichi Handa | 1999-02-17 00:15:34 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1999-02-17 00:15:34 +0000 |
| commit | 337ae039f22e023f3f6f87bca1f73da7eac6e427 (patch) | |
| tree | 2da6b5f852e8793d232583cf8858e0879e83c292 | |
| parent | 6016b6e4dc30a334ab130f21f5400d178ce863d3 (diff) | |
| download | emacs-337ae039f22e023f3f6f87bca1f73da7eac6e427.tar.gz emacs-337ae039f22e023f3f6f87bca1f73da7eac6e427.zip | |
(iso-2022-jp-2): New coding system.
("Japanese"): Put iso-2022-jp-2 in coding-priority property.
| -rw-r--r-- | lisp/language/japanese.el | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/lisp/language/japanese.el b/lisp/language/japanese.el index 220f429ad0a..8662fdc43b4 100644 --- a/lisp/language/japanese.el +++ b/lisp/language/japanese.el | |||
| @@ -42,6 +42,20 @@ | |||
| 42 | (define-coding-system-alias 'junet 'iso-2022-jp) | 42 | (define-coding-system-alias 'junet 'iso-2022-jp) |
| 43 | 43 | ||
| 44 | (make-coding-system | 44 | (make-coding-system |
| 45 | 'iso-2022-jp-2 2 ?J | ||
| 46 | "ISO 2022 based 7bit encoding for CJK, Latin-1, and Greek (MIME:ISO-2022-JP-2)" | ||
| 47 | '((ascii japanese-jisx0208-1978 japanese-jisx0208 | ||
| 48 | latin-jisx0201 japanese-jisx0212 katakana-jisx0201 | ||
| 49 | chinese-gb2312 korean-ksc5601) nil | ||
| 50 | (nil latin-iso8859-1 greek-iso8859-7) nil | ||
| 51 | short ascii-eol ascii-cntl seven nil single-shift) | ||
| 52 | '((safe-charsets ascii japanese-jisx0208-1978 japanese-jisx0208 | ||
| 53 | latin-jisx0201 japanese-jisx0212 katakana-jisx0201 | ||
| 54 | chinese-gb2312 korean-ksc5601 | ||
| 55 | latin-iso8859-1 greek-iso8859-7) | ||
| 56 | (mime-charset . iso-2022-jp-2))) | ||
| 57 | |||
| 58 | (make-coding-system | ||
| 45 | 'japanese-shift-jis 1 ?S | 59 | 'japanese-shift-jis 1 ?S |
| 46 | "Shift-JIS 8-bit encoding for Japanese (MIME:SHIFT_JIS)" | 60 | "Shift-JIS 8-bit encoding for Japanese (MIME:SHIFT_JIS)" |
| 47 | nil | 61 | nil |
| @@ -87,7 +101,7 @@ | |||
| 87 | (coding-system iso-2022-jp japanese-iso-8bit | 101 | (coding-system iso-2022-jp japanese-iso-8bit |
| 88 | japanese-shift-jis japanese-iso-7bit-1978-irv) | 102 | japanese-shift-jis japanese-iso-7bit-1978-irv) |
| 89 | (coding-priority iso-2022-jp japanese-iso-8bit | 103 | (coding-priority iso-2022-jp japanese-iso-8bit |
| 90 | japanese-shift-jis) | 104 | japanese-shift-jis iso-2022-jp-2) |
| 91 | (input-method . "japanese") | 105 | (input-method . "japanese") |
| 92 | (features japan-util) | 106 | (features japan-util) |
| 93 | (sample-text . "Japanese ($BF|K\8l(B) $B$3$s$K$A$O(B, (I:]FAJ(B") | 107 | (sample-text . "Japanese ($BF|K\8l(B) $B$3$s$K$A$O(B, (I:]FAJ(B") |