From 95375a68f94a1daea94598e436a443a791c03fd0 Mon Sep 17 00:00:00 2001
From: Dave Love <fx@gnu.org>
Date: Sun, 18 Aug 2002 13:25:12 +0000
Subject: [PATCH] (viet-encode-viscii-char): Use encode-char.

---
 lisp/language/viet-util.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/language/viet-util.el b/lisp/language/viet-util.el
index 0268f6f0bb3..1234844b2c6 100644
--- a/lisp/language/viet-util.el
+++ b/lisp/language/viet-util.el
@@ -38,8 +38,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:
-- 
2.39.5