]> code.delx.au - gnu-emacs/commitdiff
(windows-1258, cp1258): New coding
authorDave Love <fx@gnu.org>
Fri, 17 May 2002 20:14:36 +0000 (20:14 +0000)
committerDave Love <fx@gnu.org>
Fri, 17 May 2002 20:14:36 +0000 (20:14 +0000)
systems.
(font-ccl-encoder-alist): Remove viscii, vscii.

lisp/language/vietnamese.el

index 808596c34cb08e7d093b1805179bba79448c8480..e6219347f0679d622e142887f0b9007bf78b29b1 100644 (file)
@@ -2,8 +2,9 @@
 
 ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN.
 ;; Licensed to the Free Software Foundation.
+;; Copyright (C) 2002 Free Software Foundation, Inc.
 
-;; Keywords: multilingual, Vietnamese
+;; Keywords: multilingual, Vietnamese, i18n
 
 ;; This file is part of GNU Emacs.
 
 
 (define-coding-system-alias 'viqr 'vietnamese-viqr)
 
-(setq font-ccl-encoder-alist
-      (cons '("viscii" . ccl-encode-viscii-font) font-ccl-encoder-alist))
-
-(setq font-ccl-encoder-alist
-      (cons '("vscii" . ccl-encode-vscii-font) font-ccl-encoder-alist))
-
 (set-language-info-alist
  "Vietnamese" `((charset viscii)
                (coding-system vietnamese-viscii vietnamese-vscii
@@ -78,6 +73,14 @@ Current setting put higher priority to the coding system VISCII than VSCII.
 If you prefer VSCII, please do: (prefer-coding-system 'vietnamese-vscii)")
                ))
 
+(define-coding-system 'windows-1258
+  "windows-1258 encoding for Vietnamese (MIME: WINDOWS-1258)"
+  :coding-type 'charset
+  :mnemonic ?*
+  :charset-list '(windows-1258)
+  :mime-charset 'windows-1258)
+(define-coding-system-alias 'cp1258 'windows-1258)
+
 (provide 'vietnamese)
 
 ;;; vietnamese.el ends here