1 ;;; vnvni.el --- Quail package for Vietnamese by VNI method
3 ;; Copyright (C) 2001-2013 Free Software Foundation, Inc.
5 ;; Author: Werner Lemberg <wl@gnu.org>
6 ;; Nguyen Thai Ngoc Duy <pclouds@gmail.com>
7 ;; Keywords: multilingual, input method, Vietnamese
9 ;; This file is part of GNU Emacs.
11 ;; GNU Emacs is free software: you can redistribute it and/or modify
12 ;; it under the terms of the GNU General Public License as published by
13 ;; the Free Software Foundation, either version 3 of the License, or
14 ;; (at your option) any later version.
16 ;; GNU Emacs is distributed in the hope that it will be useful,
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 ;; GNU General Public License for more details.
21 ;; You should have received a copy of the GNU General Public License
22 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
26 ;; There are two commonly-used input methods for Vietnamese: Telex
27 ;; (implemented in vntelex.el) and VNI (implemented in this file,
28 ;; which was based on vntelex.el).
36 "vietnamese-vni" ; NAME
37 "Vietnamese" ; LANGUAGE
40 "Vietnamese VNI input method
44 effect postfix examples
45 ------------------------------
60 A82 -> Ằ, o74 -> ỡ, etc.
62 Doubling the postfix (but not in combinations) separates the letter
63 and postfix: E66 -> E6, a55 -> a5, etc.
65 nil
; TRANSLATION-KEYS
66 t
; FORGET-LAST-SELECTION
70 nil
; CREATE-DECODE-MAP
71 nil
; MAXIMUM-SHORTEST
73 nil
; UPDATE-TRANSLATION-FUNCTION
78 ("a2" ?à
) ; LATIN SMALL LETTER A WITH GRAVE
79 ("A2" ?À
) ; LATIN CAPITAL LETTER A WITH GRAVE
80 ("a1" ?á
) ; LATIN SMALL LETTER A WITH ACUTE
81 ("A1" ?Á
) ; LATIN CAPITAL LETTER A WITH ACUTE
82 ("a6" ?â
) ; LATIN SMALL LETTER A WITH CIRCUMFLEX
83 ("A6" ?Â
) ; LATIN CAPITAL LETTER A WITH CIRCUMFLEX
84 ("a4" ?ã
) ; LATIN SMALL LETTER A WITH TILDE
85 ("A4" ?Ã
) ; LATIN CAPITAL LETTER A WITH TILDE
86 ("e2" ?è
) ; LATIN SMALL LETTER E WITH GRAVE
87 ("E2" ?È
) ; LATIN CAPITAL LETTER E WITH GRAVE
88 ("e1" ?é
) ; LATIN SMALL LETTER E WITH ACUTE
89 ("E1" ?É
) ; LATIN CAPITAL LETTER E WITH ACUTE
90 ("e6" ?ê
) ; LATIN SMALL LETTER E WITH CIRCUMFLEX
91 ("E6" ?Ê
) ; LATIN CAPITAL LETTER E WITH CIRCUMFLEX
92 ("i2" ?ì
) ; LATIN SMALL LETTER I WITH GRAVE
93 ("I2" ?Ì
) ; LATIN CAPITAL LETTER I WITH GRAVE
94 ("i1" ?í
) ; LATIN SMALL LETTER I WITH ACUTE
95 ("I1" ?Í
) ; LATIN CAPITAL LETTER I WITH ACUTE
96 ("o2" ?ò
) ; LATIN SMALL LETTER O WITH GRAVE
97 ("O2" ?Ò
) ; LATIN CAPITAL LETTER O WITH GRAVE
98 ("o1" ?ó
) ; LATIN SMALL LETTER O WITH ACUTE
99 ("O1" ?Ó
) ; LATIN CAPITAL LETTER O WITH ACUTE
100 ("o6" ?ô
) ; LATIN SMALL LETTER O WITH CIRCUMFLEX
101 ("O6" ?Ô
) ; LATIN CAPITAL LETTER O WITH CIRCUMFLEX
102 ("o4" ?õ
) ; LATIN SMALL LETTER O WITH TILDE
103 ("O4" ?Õ
) ; LATIN CAPITAL LETTER O WITH TILDE
104 ("u2" ?ù
) ; LATIN SMALL LETTER U WITH GRAVE
105 ("U2" ?Ù
) ; LATIN CAPITAL LETTER U WITH GRAVE
106 ("u1" ?ú
) ; LATIN SMALL LETTER U WITH ACUTE
107 ("U1" ?Ú
) ; LATIN CAPITAL LETTER U WITH ACUTE
108 ("y1" ?ý
) ; LATIN SMALL LETTER Y WITH ACUTE
109 ("Y1" ?Ý
) ; LATIN CAPITAL LETTER Y WITH ACUTE
110 ("a8" ?ă
) ; LATIN SMALL LETTER A WITH BREVE
111 ("A8" ?Ă
) ; LATIN CAPITAL LETTER A WITH BREVE
112 ("i4" ?ĩ
) ; LATIN SMALL LETTER I WITH TILDE
113 ("I4" ?Ĩ
) ; LATIN CAPITAL LETTER I WITH TILDE
114 ("u4" ?ũ
) ; LATIN SMALL LETTER U WITH TILDE
115 ("U4" ?Ũ
) ; LATIN CAPITAL LETTER U WITH TILDE
116 ("o7" ?ơ
) ; LATIN SMALL LETTER O WITH HORN
117 ("O7" ?Ơ
) ; LATIN CAPITAL LETTER O WITH HORN
118 ("u7" ?ư
) ; LATIN SMALL LETTER U WITH HORN
119 ("U7" ?Ư
) ; LATIN CAPITAL LETTER U WITH HORN
120 ("a5" ?ạ
) ; LATIN SMALL LETTER A WITH DOT BELOW
121 ("A5" ?Ạ
) ; LATIN CAPITAL LETTER A WITH DOT BELOW
122 ("a3" ?ả
) ; LATIN SMALL LETTER A WITH HOOK ABOVE
123 ("A3" ?Ả
) ; LATIN CAPITAL LETTER A WITH HOOK ABOVE
124 ("a61" ?ấ
) ; LATIN SMALL LETTER A WITH CIRCUMFLEX AND ACUTE
125 ("A61" ?Ấ
) ; LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND ACUTE
126 ("a62" ?ầ
) ; LATIN SMALL LETTER A WITH CIRCUMFLEX AND GRAVE
127 ("A62" ?Ầ
) ; LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND GRAVE
128 ("a63" ?ẩ
) ; LATIN SMALL LETTER A WITH CIRCUMFLEX AND HO6K ABOVE
129 ("A63" ?Ẩ
) ; LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND HO6K ABOVE
130 ("a64" ?ẫ
) ; LATIN SMALL LETTER A WITH CIRCUMFLEX AND TILDE
131 ("A64" ?Ẫ
) ; LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND TILDE
132 ("a65" ?ậ
) ; LATIN SMALL LETTER A WITH CIRCUMFLEX AND DOT BELOW
133 ("A65" ?Ậ
) ; LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND DOT BELOW
134 ("a81" ?ắ
) ; LATIN SMALL LETTER A WITH BREVE AND ACUTE
135 ("A81" ?Ắ
) ; LATIN CAPITAL LETTER A WITH BREVE AND ACUTE
136 ("a82" ?ằ
) ; LATIN SMALL LETTER A WITH BREVE AND GRAVE
137 ("A82" ?Ằ
) ; LATIN CAPITAL LETTER A WITH BREVE AND GRAVE
138 ("a83" ?ẳ
) ; LATIN SMALL LETTER A WITH BREVE AND HO6K ABOVE
139 ("A83" ?Ẳ
) ; LATIN CAPITAL LETTER A WITH BREVE AND HO6K ABOVE
140 ("a84" ?ẵ
) ; LATIN SMALL LETTER A WITH BREVE AND TILDE
141 ("A84" ?Ẵ
) ; LATIN CAPITAL LETTER A WITH BREVE AND TILDE
142 ("a85" ?ặ
) ; LATIN SMALL LETTER A WITH BREVE AND DOT BELOW
143 ("A85" ?Ặ
) ; LATIN CAPITAL LETTER A WITH BREVE AND DOT BELOW
144 ("e5" ?ẹ
) ; LATIN SMALL LETTER E WITH DOT BELOW
145 ("E5" ?Ẹ
) ; LATIN CAPITAL LETTER E WITH DOT BELOW
146 ("e3" ?ẻ
) ; LATIN SMALL LETTER E WITH HO6K ABOVE
147 ("E3" ?Ẻ
) ; LATIN CAPITAL LETTER E WITH HO6K ABOVE
148 ("e4" ?ẽ
) ; LATIN SMALL LETTER E WITH TILDE
149 ("E4" ?Ẽ
) ; LATIN CAPITAL LETTER E WITH TILDE
150 ("e61" ?ế
) ; LATIN SMALL LETTER E WITH CIRCUMFLEX AND ACUTE
151 ("E61" ?Ế
) ; LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND ACUTE
152 ("e62" ?ề
) ; LATIN SMALL LETTER E WITH CIRCUMFLEX AND GRAVE
153 ("E62" ?Ề
) ; LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND GRAVE
154 ("e63" ?ể
) ; LATIN SMALL LETTER E WITH CIRCUMFLEX AND HO6K ABOVE
155 ("E63" ?Ể
) ; LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND HO6K ABOVE
156 ("e64" ?ễ
) ; LATIN SMALL LETTER E WITH CIRCUMFLEX AND TILDE
157 ("E64" ?Ễ
) ; LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND TILDE
158 ("e65" ?ệ
) ; LATIN SMALL LETTER E WITH CIRCUMFLEX AND DOT BELOW
159 ("E65" ?Ệ
) ; LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND DOT BELOW
160 ("i3" ?ỉ
) ; LATIN SMALL LETTER I WITH HO6K ABOVE
161 ("I3" ?Ỉ
) ; LATIN CAPITAL LETTER I WITH HO6K ABOVE
162 ("i5" ?ị
) ; LATIN SMALL LETTER I WITH DOT BELOW
163 ("I5" ?Ị
) ; LATIN CAPITAL LETTER I WITH DOT BELOW
164 ("o5" ?ọ
) ; LATIN SMALL LETTER O WITH DOT BELOW
165 ("O5" ?Ọ
) ; LATIN CAPITAL LETTER O WITH DOT BELOW
166 ("o3" ?ỏ
) ; LATIN SMALL LETTER O WITH HO6K ABOVE
167 ("O3" ?Ỏ
) ; LATIN CAPITAL LETTER O WITH HO6K ABOVE
168 ("o61" ?ố
) ; LATIN SMALL LETTER O WITH CIRCUMFLEX AND ACUTE
169 ("O61" ?Ố
) ; LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND ACUTE
170 ("o62" ?ồ
) ; LATIN SMALL LETTER O WITH CIRCUMFLEX AND GRAVE
171 ("O62" ?Ồ
) ; LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND GRAVE
172 ("o63" ?ổ
) ; LATIN SMALL LETTER O WITH CIRCUMFLEX AND HO6K ABOVE
173 ("O63" ?Ổ
) ; LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND HO6K ABOVE
174 ("o64" ?ỗ
) ; LATIN SMALL LETTER O WITH CIRCUMFLEX AND TILDE
175 ("O64" ?Ỗ
) ; LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND TILDE
176 ("o65" ?ộ
) ; LATIN SMALL LETTER O WITH CIRCUMFLEX AND DOT BELO7
177 ("O65" ?Ộ
) ; LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND DOT BELO7
178 ("o71" ?ớ
) ; LATIN SMALL LETTER O WITH HORN AND ACUTE
179 ("O71" ?Ớ
) ; LATIN CAPITAL LETTER O WITH HORN AND ACUTE
180 ("o72" ?ờ
) ; LATIN SMALL LETTER O WITH HORN AND GRAVE
181 ("O72" ?Ờ
) ; LATIN CAPITAL LETTER O WITH HORN AND GRAVE
182 ("o73" ?ở
) ; LATIN SMALL LETTER O WITH HORN AND HO6K ABOVE
183 ("O73" ?Ở
) ; LATIN CAPITAL LETTER O WITH HORN AND HO6K ABOVE
184 ("o74" ?ỡ
) ; LATIN SMALL LETTER O WITH HORN AND TILDE
185 ("O74" ?Ỡ
) ; LATIN CAPITAL LETTER O WITH HORN AND TILDE
186 ("o75" ?ợ
) ; LATIN SMALL LETTER O WITH HORN AND DOT BELO7
187 ("O75" ?Ợ
) ; LATIN CAPITAL LETTER O WITH HORN AND DOT BELO7
188 ("u5" ?ụ
) ; LATIN SMALL LETTER U WITH DOT BELO7
189 ("U5" ?Ụ
) ; LATIN CAPITAL LETTER U WITH DOT BELO7
190 ("u3" ?ủ
) ; LATIN SMALL LETTER U WITH HO6K ABOVE
191 ("U3" ?Ủ
) ; LATIN CAPITAL LETTER U WITH HO6K ABOVE
192 ("u71" ?ứ
) ; LATIN SMALL LETTER U WITH HORN AND ACUTE
193 ("U71" ?Ứ
) ; LATIN CAPITAL LETTER U WITH HORN AND ACUTE
194 ("u72" ?ừ
) ; LATIN SMALL LETTER U WITH HORN AND GRAVE
195 ("U72" ?Ừ
) ; LATIN CAPITAL LETTER U WITH HORN AND GRAVE
196 ("u73" ?ử
) ; LATIN SMALL LETTER U WITH HORN AND HO6K ABOVE
197 ("U73" ?Ử
) ; LATIN CAPITAL LETTER U WITH HORN AND HO6K ABOVE
198 ("u74" ?ữ
) ; LATIN SMALL LETTER U WITH HORN AND TILDE
199 ("U74" ?Ữ
) ; LATIN CAPITAL LETTER U WITH HORN AND TILDE
200 ("u75" ?ự
) ; LATIN SMALL LETTER U WITH HORN AND DOT BELO7
201 ("U75" ?Ự
) ; LATIN CAPITAL LETTER U WITH HORN AND DOT BELO7
202 ("y2" ?ỳ
) ; LATIN SMALL LETTER Y WITH GRAVE
203 ("Y2" ?Ỳ
) ; LATIN CAPITAL LETTER Y WITH GRAVE
204 ("y5" ?ỵ
) ; LATIN SMALL LETTER Y WITH DOT BELO7
205 ("Y5" ?Ỵ
) ; LATIN CAPITAL LETTER Y WITH DOT BELO7
206 ("y3" ?ỷ
) ; LATIN SMALL LETTER Y WITH HO6K ABOVE
207 ("Y3" ?Ỷ
) ; LATIN CAPITAL LETTER Y WITH HO6K ABOVE
208 ("y4" ?ỹ
) ; LATIN SMALL LETTER Y WITH TILDE
209 ("Y4" ?Ỹ
) ; LATIN CAPITAL LETTER Y WITH TILDE
210 ("d9" ?đ
) ; LATIN SMALL LETTER D WITH STROKE
211 ("D9" ?Đ
) ; LATIN CAPITAL LETTER D WITH STROKE
212 ;("$$" ?₫) ; U+20AB DONG SIGN (#### check)
290 ;; escape from composition
300 ("\\\\" ?
\\)) ; literal backslash