From d3f352083eac435ff72eff7c3670730ac3ec9996 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Fri, 7 Jun 2002 11:26:43 +0000 Subject: [PATCH] (vietnamese-tcvn, tcvn): New coding system. ("Vietnamese"): Doc fix. --- lisp/language/vietnamese.el | 20 ++++++++++++++------ 1 file 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 @@ (set-language-info-alist "Vietnamese" `((charset viscii) (coding-system vietnamese-viscii vietnamese-vscii - vietnamese-viqr windows-1258) + vietnamese-tcvn vietnamese-viqr windows-1258) (coding-priority vietnamese-viscii) (nonascii-translation . viscii) (input-method . "vietnamese-viqr") @@ -67,11 +67,12 @@ (features viet-util) (sample-text . "Vietnamese (Ti,1*(Bng Vi,1.(Bt) Ch,1`(Bo b,1U(Bn") (documentation . "\ -For Vietnamese, Emacs uses special character sets internally. -They can be decoded from and encoded to VISCII, VSCII, and VIQR. -Current setting put higher priority to the coding system VISCII than VSCII. -If you prefer VSCII, please do: (prefer-coding-system 'vietnamese-vscii)") - )) +For Vietnamese, Emacs can use encodings VISCII, VSCII, TCVN-5712, VIQR +and windows-1258. VSCII is deprecated in favour of TCVN-5712. The +current setting gives higher priority to the coding system VISCII than +TCVN-5712. If you prefer TCVN-5712, please do: (prefer-coding-system +'vietnamese-tcvn). There are two Vietnamese input methods: VIQR and +Telex; VIQR is the default setting."))) (define-coding-system 'windows-1258 "windows-1258 encoding for Vietnamese (MIME: WINDOWS-1258)" @@ -81,6 +82,13 @@ If you prefer VSCII, please do: (prefer-coding-system 'vietnamese-vscii)") :mime-charset 'windows-1258) (define-coding-system-alias 'cp1258 'windows-1258) +(define-coding-system 'vietnamese-tcvn + "8-bit encoding for Vietnamese TCVN-5712" + :coding-type 'charset + :mnemonic ?t + :charset-list '(tcvn-5712)) +(define-coding-system-alias 'tcvn 'vietnamese-tcvn) + (provide 'vietnamese) ;;; vietnamese.el ends here -- 2.39.2