diff options
| author | ShengHuo ZHU | 2001-01-24 14:50:08 +0000 |
|---|---|---|
| committer | ShengHuo ZHU | 2001-01-24 14:50:08 +0000 |
| commit | ff890e66b53440c6c353a2a3ea1edb2b67035f18 (patch) | |
| tree | 349468368221f9301a1c7bcbae734a81f1463677 | |
| parent | 6801a5720e63c739373ed5af0ed5a811bdd3069c (diff) | |
| download | emacs-ff890e66b53440c6c353a2a3ea1edb2b67035f18.tar.gz emacs-ff890e66b53440c6c353a2a3ea1edb2b67035f18.zip | |
* language/chinese.el (chinese-iso-8bit): MIME:GB2312.
(chinese-big5): MIME:Big5.
[ cited from ftp://ftp.isi.edu/in-notes/iana/assignments/character-sets ]
Name: GB2312 (preferred MIME name)
MIBenum: 2025
Source: Chinese for People's Republic of China (PRC) mixed one byte,
two byte set:
20-7E = one byte ASCII
A1-FE = two byte PRC Kanji
See GB 2312-80
PCL Symbol Set Id: 18C
Alias: csGB2312
Name: Big5 (preferred MIME name)
MIBenum: 2026
Source: Chinese for Taiwan Multi-byte set.
PCL Symbol Set Id: 18T
Alias: csBig5
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/language/chinese.el | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3fa3c14a06c..94bfdad322b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2001-01-24 ShengHuo ZHU <zsh@cs.rochester.edu> | ||
| 2 | |||
| 3 | * language/chinese.el (chinese-iso-8bit): MIME:GB2312. | ||
| 4 | (chinese-big5): MIME:Big5. | ||
| 5 | |||
| 1 | 2001-01-24 Gerd Moellmann <gerd@gnu.org> | 6 | 2001-01-24 Gerd Moellmann <gerd@gnu.org> |
| 2 | 7 | ||
| 3 | * international/mule-cmds.el (universal-coding-system-argument): | 8 | * international/mule-cmds.el (universal-coding-system-argument): |
diff --git a/lisp/language/chinese.el b/lisp/language/chinese.el index 36ddf0eeff0..de9aee9252c 100644 --- a/lisp/language/chinese.el +++ b/lisp/language/chinese.el | |||
| @@ -69,11 +69,11 @@ | |||
| 69 | 69 | ||
| 70 | (make-coding-system | 70 | (make-coding-system |
| 71 | 'chinese-iso-8bit 2 ?c | 71 | 'chinese-iso-8bit 2 ?c |
| 72 | "ISO 2022 based EUC encoding for Chinese GB2312 (MIME:CN-GB)" | 72 | "ISO 2022 based EUC encoding for Chinese GB2312 (MIME:GB2312)" |
| 73 | '(ascii chinese-gb2312 nil nil | 73 | '(ascii chinese-gb2312 nil nil |
| 74 | nil ascii-eol ascii-cntl nil nil nil nil) | 74 | nil ascii-eol ascii-cntl nil nil nil nil) |
| 75 | '((safe-charsets ascii chinese-gb2312) | 75 | '((safe-charsets ascii chinese-gb2312) |
| 76 | (mime-charset . cn-gb))) | 76 | (mime-charset . gb2312))) |
| 77 | 77 | ||
| 78 | (define-coding-system-alias 'cn-gb-2312 'chinese-iso-8bit) | 78 | (define-coding-system-alias 'cn-gb-2312 'chinese-iso-8bit) |
| 79 | (define-coding-system-alias 'euc-china 'chinese-iso-8bit) | 79 | (define-coding-system-alias 'euc-china 'chinese-iso-8bit) |
| @@ -126,10 +126,10 @@ | |||
| 126 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 126 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 127 | 127 | ||
| 128 | (make-coding-system | 128 | (make-coding-system |
| 129 | 'chinese-big5 3 ?B "BIG5 8-bit encoding for Chinese (MIME:CN-BIG5)" | 129 | 'chinese-big5 3 ?B "BIG5 8-bit encoding for Chinese (MIME:Big5)" |
| 130 | nil | 130 | nil |
| 131 | '((safe-charsets ascii chinese-big5-1 chinese-big5-2) | 131 | '((safe-charsets ascii chinese-big5-1 chinese-big5-2) |
| 132 | (mime-charset . cn-big5) | 132 | (mime-charset . big5) |
| 133 | (charset-origin-alist (chinese-big5-1 "BIG5" encode-big5-char) | 133 | (charset-origin-alist (chinese-big5-1 "BIG5" encode-big5-char) |
| 134 | (chinese-big5-2 "BIG5" encode-big5-char)))) | 134 | (chinese-big5-2 "BIG5" encode-big5-char)))) |
| 135 | 135 | ||