# HG changeset patch # User Dave Love # Date 1023449203 0 # Node ID e18cd612d3c4bf980a9e4597a359b0101415e078 # Parent 89031d757284b7b3658ac3177b37a98ff72c9a77 (vietnamese-tcvn, tcvn): New coding system. ("Vietnamese"): Doc fix. diff -r 89031d757284 -r e18cd612d3c4 lisp/language/vietnamese.el --- a/lisp/language/vietnamese.el Fri Jun 07 11:25:11 2002 +0000 +++ b/lisp/language/vietnamese.el Fri Jun 07 11:26:43 2002 +0000 @@ -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 @@ :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