diff options
| author | Dave Love | 2002-06-07 11:26:43 +0000 |
|---|---|---|
| committer | Dave Love | 2002-06-07 11:26:43 +0000 |
| commit | d3f352083eac435ff72eff7c3670730ac3ec9996 (patch) | |
| tree | 72c94948851578100b3c53fef9b6dd5344b53c51 | |
| parent | 69862ba657df7a350252dde5ec87c49ec5fda7f9 (diff) | |
| download | emacs-d3f352083eac435ff72eff7c3670730ac3ec9996.tar.gz emacs-d3f352083eac435ff72eff7c3670730ac3ec9996.zip | |
(vietnamese-tcvn, tcvn): New coding
system.
("Vietnamese"): Doc fix.
| -rw-r--r-- | lisp/language/vietnamese.el | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/lisp/language/vietnamese.el b/lisp/language/vietnamese.el index da155667867..66f87d04e79 100644 --- a/lisp/language/vietnamese.el +++ b/lisp/language/vietnamese.el | |||
| @@ -59,7 +59,7 @@ | |||
| 59 | (set-language-info-alist | 59 | (set-language-info-alist |
| 60 | "Vietnamese" `((charset viscii) | 60 | "Vietnamese" `((charset viscii) |
| 61 | (coding-system vietnamese-viscii vietnamese-vscii | 61 | (coding-system vietnamese-viscii vietnamese-vscii |
| 62 | vietnamese-viqr windows-1258) | 62 | vietnamese-tcvn vietnamese-viqr windows-1258) |
| 63 | (coding-priority vietnamese-viscii) | 63 | (coding-priority vietnamese-viscii) |
| 64 | (nonascii-translation . viscii) | 64 | (nonascii-translation . viscii) |
| 65 | (input-method . "vietnamese-viqr") | 65 | (input-method . "vietnamese-viqr") |
| @@ -67,11 +67,12 @@ | |||
| 67 | (features viet-util) | 67 | (features viet-util) |
| 68 | (sample-text . "Vietnamese (Ti,1*(Bng Vi,1.(Bt) Ch,1`(Bo b,1U(Bn") | 68 | (sample-text . "Vietnamese (Ti,1*(Bng Vi,1.(Bt) Ch,1`(Bo b,1U(Bn") |
| 69 | (documentation . "\ | 69 | (documentation . "\ |
| 70 | For Vietnamese, Emacs uses special character sets internally. | 70 | For Vietnamese, Emacs can use encodings VISCII, VSCII, TCVN-5712, VIQR |
| 71 | They can be decoded from and encoded to VISCII, VSCII, and VIQR. | 71 | and windows-1258. VSCII is deprecated in favour of TCVN-5712. The |
| 72 | Current setting put higher priority to the coding system VISCII than VSCII. | 72 | current setting gives higher priority to the coding system VISCII than |
| 73 | If you prefer VSCII, please do: (prefer-coding-system 'vietnamese-vscii)") | 73 | TCVN-5712. If you prefer TCVN-5712, please do: (prefer-coding-system |
| 74 | )) | 74 | 'vietnamese-tcvn). There are two Vietnamese input methods: VIQR and |
| 75 | Telex; VIQR is the default setting."))) | ||
| 75 | 76 | ||
| 76 | (define-coding-system 'windows-1258 | 77 | (define-coding-system 'windows-1258 |
| 77 | "windows-1258 encoding for Vietnamese (MIME: WINDOWS-1258)" | 78 | "windows-1258 encoding for Vietnamese (MIME: WINDOWS-1258)" |
| @@ -81,6 +82,13 @@ If you prefer VSCII, please do: (prefer-coding-system 'vietnamese-vscii)") | |||
| 81 | :mime-charset 'windows-1258) | 82 | :mime-charset 'windows-1258) |
| 82 | (define-coding-system-alias 'cp1258 'windows-1258) | 83 | (define-coding-system-alias 'cp1258 'windows-1258) |
| 83 | 84 | ||
| 85 | (define-coding-system 'vietnamese-tcvn | ||
| 86 | "8-bit encoding for Vietnamese TCVN-5712" | ||
| 87 | :coding-type 'charset | ||
| 88 | :mnemonic ?t | ||
| 89 | :charset-list '(tcvn-5712)) | ||
| 90 | (define-coding-system-alias 'tcvn 'vietnamese-tcvn) | ||
| 91 | |||
| 84 | (provide 'vietnamese) | 92 | (provide 'vietnamese) |
| 85 | 93 | ||
| 86 | ;;; vietnamese.el ends here | 94 | ;;; vietnamese.el ends here |