diff options
author | Kenichi Handa <handa@m17n.org> | 1998-01-22 01:46:28 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 1998-01-22 01:46:28 +0000 |
commit | 367659703e2ee6f05506a32ef58a35f6e94a1b35 (patch) | |
tree | d343f501ea26d14ac0b56ff604c7c9328e669fb1 /lisp/language/japanese.el | |
parent | b823b1f06b565118497fd643578d95f87ccc93e6 (diff) | |
download | emacs-367659703e2ee6f05506a32ef58a35f6e94a1b35.tar.gz |
Adjusted for the change of make-coding-system. Register
coding-priority key in language-info-alist.
Diffstat (limited to 'lisp/language/japanese.el')
-rw-r--r-- | lisp/language/japanese.el | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/lisp/language/japanese.el b/lisp/language/japanese.el index c109d487994..fc248938d66 100644 --- a/lisp/language/japanese.el +++ b/lisp/language/japanese.el @@ -33,9 +33,11 @@ 'iso-2022-jp 2 ?J "ISO 2022 based 7bit encoding for Japanese (MIME:ISO-2022-JP)" '((ascii japanese-jisx0208-1978 japanese-jisx0208 - latin-jisx0201 japanese-jisx0212 katakana-jisx0201 t) nil nil nil + latin-jisx0201 japanese-jisx0212 katakana-jisx0201) nil nil nil short ascii-eol ascii-cntl seven) - '(ascii japanese-jisx0208-1978 japanese-jisx0208 latin-jisx0201)) + '((safe-charsets ascii japanese-jisx0208-1978 japanese-jisx0208 + latin-jisx0201 japanese-jisx0212 katakana-jisx0201) + (mime-charset . 'iso-2022-jp))) (define-coding-system-alias 'junet 'iso-2022-jp) @@ -43,8 +45,9 @@ 'japanese-shift-jis 1 ?S "Shift-JIS 8-bit encoding for Japanese (MIME:SHIFT_JIS)" nil - '(ascii japanese-jisx0208 japanese-jisx0208-1978 - latin-jisx0201 katakana-jisx0201)) + '((safe-charsets ascii japanese-jisx0208 japanese-jisx0208-1978 + latin-jisx0201 katakana-jisx0201) + (mime-charset . shift_jis))) (define-coding-system-alias 'shift_jis 'japanese-shift-jis) (define-coding-system-alias 'sjis 'japanese-shift-jis) @@ -63,11 +66,11 @@ (make-coding-system 'japanese-iso-8bit 2 ?E "ISO 2022 based EUC encoding for Japanese (MIME:EUC-JP)" - '((ascii latin-jisx0201) (japanese-jisx0208 japanese-jisx0208-1978) - katakana-jisx0201 japanese-jisx0212 + '(ascii japanese-jisx0208 katakana-jisx0201 japanese-jisx0212 short ascii-eol ascii-cntl nil nil single-shift) - '(ascii latin-jisx0201 japanese-jisx0208 japanese-jisx0208-1978 - katakana-jisx0201 japanese-jisx0212)) + '((safe-charsets ascii latin-jisx0201 japanese-jisx0208 japanese-jisx0208-1978 + katakana-jisx0201 japanese-jisx0212) + (mime-charset . euc-jp))) (define-coding-system-alias 'euc-japan-1990 'japanese-iso-8bit) (define-coding-system-alias 'euc-japan 'japanese-iso-8bit) @@ -76,12 +79,13 @@ (set-language-info-alist "Japanese" '((setup-function . setup-japanese-environment) (tutorial . "TUTORIAL.jp") - (charset . (japanese-jisx0208 japanese-jisx0208-1978 - japanese-jisx0212 latin-jisx0201 - katakana-jisx0201)) - (coding-system . (iso-2022-jp japanese-iso-8bit - japanese-shift-jis japanese-iso-7bit-1978-irv)) - (sample-text . "Japanese ($BF|K\8l(B) $B$3$s$K$A$O(B, (I:]FAJ(B") + (charset japanese-jisx0208 japanese-jisx0208-1978 + japanese-jisx0212 latin-jisx0201 katakana-jisx0201) + (coding-system iso-2022-jp japanese-iso-8bit + japanese-shift-jis japanese-iso-7bit-1978-irv) + (coding-priority iso-2022-jp japanese-iso-8bit + japanese-shift-jis) + (sample-text . "Japanese ($BF|K\8l(B) $B$3$s$K$A$O(B, (I:]FAJ(B") (documentation . t))) ;;; japanese.el ends here |