summaryrefslogtreecommitdiff
path: root/lisp/language/viet-util.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/language/viet-util.el')
-rw-r--r--lisp/language/viet-util.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/language/viet-util.el b/lisp/language/viet-util.el
index e70a6fb3a10..0b552a61fe5 100644
--- a/lisp/language/viet-util.el
+++ b/lisp/language/viet-util.el
@@ -4,6 +4,9 @@
;; Copyright (C) 1995, 1997
;; National Institute of Advanced Industrial Science and Technology (AIST)
;; Registration Number H14PRO021
+;; Copyright (C) 2003
+;; National Institute of Advanced Industrial Science and Technology (AIST)
+;; Registration Number H13PRO009
;; Keywords: mule, multilingual, Vietnamese
@@ -43,8 +46,7 @@
;;;###autoload
(defun viet-encode-viscii-char (char)
"Return VISCII character code of CHAR if appropriate."
- (aref (char-table-extra-slot viet-viscii-nonascii-translation-table 0)
- char))
+ (encode-char char 'viscii))
;; VIQR is a menmonic encoding specification for Vietnamese.
;; It represents diacritical marks by ASCII characters as follows: