1 ###############################################################################
2 # Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
4 # Permission is hereby granted, free of charge, to any person obtaining a
5 # copy of this software and associated documentation files (the "Software"),
6 # to deal in the Software without restriction, including without limitation
7 # the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 # and/or sell copies of the Software, and to permit persons to whom the
9 # Software is furnished to do so, subject to the following conditions:
11 # The above copyright notice and this permission notice (including the next
12 # paragraph) shall be included in all copies or substantial portions of the
15 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18 # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21 # DEALINGS IN THE SOFTWARE.
24 diff --git a/nls/th_TH.UTF-8/XI18N_OBJS b/nls/th_TH.UTF-8/XI18N_OBJS
25 index dec38b0..fceb448 100644
26 --- a/nls/th_TH.UTF-8/XI18N_OBJS
27 +++ b/nls/th_TH.UTF-8/XI18N_OBJS
31 XLC common/xlcUTF8Load _XlcUtf8Loader # XLC_open
32 +XIM common/xiiimp _SwitchOpenIM # XIM_open
33 XIM common/ximcp _XimOpenIM _XimRegisterIMInstantiateCallback _XimUnRegisterIMInstantiateCallback # XIM_open XIM_register XIM_unregister
34 +XIM common/xiiimp _XimpLocalOpenIM # XIM_open
35 +XIM common/ximll _XimpLocalOpenIM # XIM_open
36 +XIM common/ximlocal _XimpLocalOpenIM # XIM_open
37 XOM common/xomGeneric _XomGenericOpenOM # XOM_open
38 diff --git a/nls/th_TH.UTF-8/XLC_LOCALE.pre b/nls/th_TH.UTF-8/XLC_LOCALE.pre
39 index f79091a..ba29336 100644
40 --- a/nls/th_TH.UTF-8/XLC_LOCALE.pre
41 +++ b/nls/th_TH.UTF-8/XLC_LOCALE.pre
42 @@ -7,27 +7,171 @@ XCOMM
43 XCOMM XLC_FONTSET category
47 +XCOMM fs0 class (7 bit ASCII)
51 + charset ISO8859-1:GL
55 +XCOMM fs1 class (ISO8859 families)
61 + primary ISO8859-1:GR
65 +XCOMM fs2 class (Chinese Han Character)
68 + name GB2312.1980-0:GL
71 + primary GB2312.1980-0:GL
79 +XCOMM load_option delay_nocheck
84 +XCOMM fs4 class for JISX0208
86 + charset JISX0208.1983-0:GL
88 + load_option delay_nocheck
89 + primary JISX0208.1983-0:GL
95 +XCOMM fs5 class for JISX0201 kana
97 + charset JISX0201.1976-0:GR
99 + load_option delay_nocheck
100 + primary JISX0201.1976-0:GR
103 -XCOMM We leave the legacy encodings in for the moment, because we don't
104 -XCOMM have that many ISO10646 fonts yet.
105 -XCOMM fs0 class (7 bit ASCII)
107 - charset ISO8859-1:GL
110 +XCOMM fs6 calss for KS C 5601-1992 Supplementary Codes 3
112 + charset KSC5601.1992-3:GLGR
114 + load_option delay_nocheck
115 + primary KSC5601.1992-3:GLGR
119 XCOMM fs1 class (Thai)
121 - charset ISO8859-11:GR
124 + charset TIS620-0:GR
129 + charset ISO8859-5:GR
131 + load_option delay_nocheck
132 + primary ISO8859-5:GR
138 + charset ISO8859-7:GR
140 + load_option delay_nocheck
141 + primary ISO8859-7:GR
147 + charset ISO8859-2:GR
149 + load_option delay_nocheck
150 + primary ISO8859-2:GR
156 + charset ISO8859-4:GR
158 + load_option delay_nocheck
159 + primary ISO8859-4:GR
164 + charset ISO8859-9:GR
166 + load_option delay_nocheck
167 + primary ISO8859-9:GR
173 + charset ISO8859-15:GR
175 + load_option delay_nocheck
176 + primary ISO8859-15:GR
179 +XCOMM fs14 class (ISO8859-6) (Arabic)
182 + name ISO8859-6:GLGR
185 + load_option delay_nocheck
186 + primary ISO8859-6:GLGR
189 +XCOMM fs15 class (ISO8859-8) (Hebrew)
195 + load_option delay_nocheck
196 + primary ISO8859-8:GR
200 +XCOMM fs16 class (SUN.UNICODE.INDIA-0) (Indian Script)
203 + name SUN.UNICODE.INDIA-0:GLGR
206 + load_option delay_nocheck
207 + primary SUN.UNICODE.INDIA-0:GLGR
211 +XCOMM fs17 (Last, fallback) class (unicode-fontspecific)
214 + name UNICODE-FONTSPECIFIC:GLGR
217 + load_option delay_nocheck
218 + primary UNICODE-FONTSPECIFIC:GLGR
228 @@ -36,44 +180,138 @@ XCOMM
234 state_depend_encoding False
237 -wc_encoding_mask \x30000000
239 +XCOMM wc_encoding_mask \x30000000
240 +XCOMM wc_shift_bits 7
248 + ct_encoding ISO8859-1:GL
256 + ct_encoding ISO8859-1:GR
262 + ct_encoding GB2312.1980-0:GL;GB2312.1980-0:GR
266 -force_convert_to_mb True
272 + ct_encoding BIG5-0:GLGR
282 + ct_encoding JISX0208.1983-0:GL; JISX0208.1983-0:GR;
289 + ct_encoding JISX0201.1976-0:GL
296 + ct_encoding KSC5601.1992-3:GLGR
303 + ct_encoding TIS620-0:GR
309 - wc_encoding \x00000000
310 - ct_encoding ISO8859-1:GL
311 + ct_encoding ISO8859-5:GR
318 + ct_encoding ISO8859-7:GR
327 + ct_encoding ISO8859-2:GR
334 + ct_encoding ISO8859-4:GR
340 + ct_encoding ISO8859-9:GR
342 - wc_encoding \x30000000
343 - ct_encoding ISO8859-11:GR
349 - ct_encoding ISO10646-1
354 + ct_encoding ISO8859-15:GR
361 + ct_encoding ISO8859-6:GLGR
367 + ct_encoding ISO8859-8:GR
374 + ct_encoding SUN.UNICODE.INDIA-0:GLGR
377 +XCOMM Last, fallback class
381 + ct_encoding UNICODE-FONTSPECIFIC:GLGR