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/zh_CN.UTF-8/XI18N_OBJS b/nls/zh_CN.UTF-8/XI18N_OBJS
25 index 29dd53a..900235c 100644
26 --- a/nls/zh_CN.UTF-8/XI18N_OBJS
27 +++ b/nls/zh_CN.UTF-8/XI18N_OBJS
31 XLC common/xlcUTF8Load _XlcUtf8Loader # XLC_open
32 +XIM common/xiiimp _SwitchOpenIM
33 XIM common/ximcp _XimOpenIM _XimRegisterIMInstantiateCallback _XimUnRegisterIMInstantiateCallback # XIM_open XIM_register XIM_unregister
34 XOM common/xomGeneric _XomGenericOpenOM # XOM_open
35 diff --git a/nls/zh_CN.UTF-8/XLC_LOCALE.pre b/nls/zh_CN.UTF-8/XLC_LOCALE.pre
36 index 6f05d7a..330d134 100644
37 --- a/nls/zh_CN.UTF-8/XLC_LOCALE.pre
38 +++ b/nls/zh_CN.UTF-8/XLC_LOCALE.pre
39 @@ -12,8 +12,7 @@ on_demand_loading True
43 -XCOMM We leave the legacy encodings in for the moment, because we don't
44 -XCOMM have that many ISO10646 fonts yet.
46 XCOMM fs0 class (7 bit ASCII)
49 @@ -56,15 +55,145 @@ fs3 {
65 +XCOMM load_option delay_nocheck
70 +XCOMM fs4 class for JISX0208
72 + charset JISX0208.1983-0:GL
74 + load_option delay_nocheck
75 + primary JISX0208.1983-0:GL
79 +XCOMM fs5 class for JISX0201 kana
81 + charset JISX0201.1976-0:GR
83 + load_option delay_nocheck
84 + primary JISX0201.1976-0:GR
88 +XCOMM fs6 class for KS C 5601-1992 Supplementary Codes 3
90 + charset KSC5601.1992-3:GLGR
92 + #load_option delay_nocheck
93 + primary KSC5601.1992-3:GLGR
101 + load_option delay_nocheck
102 + primary TIS620-0:GR
107 + charset ISO8859-5:GR
109 + load_option delay_nocheck
110 + primary ISO8859-5:GR
116 + charset ISO8859-7:GR
118 + load_option delay_nocheck
119 + primary ISO8859-7:GR
125 + charset ISO8859-2:GR
127 + load_option delay_nocheck
128 + primary ISO8859-2:GR
134 + charset ISO8859-4:GR
136 + load_option delay_nocheck
137 + primary ISO8859-4:GR
142 + charset ISO8859-9:GR
144 + load_option delay_nocheck
145 + primary ISO8859-9:GR
151 + charset ISO8859-15:GR
153 + load_option delay_nocheck
154 + primary ISO8859-15:GR
157 +XCOMM fs14 class (ISO8859-6) (Arabic)
160 + name ISO8859-6:GLGR
163 + load_option delay_nocheck
164 + primary ISO8859-6:GLGR
167 +XCOMM fs15 class (ISO8859-8) (Hebrew)
173 + load_option delay_nocheck
174 + primary ISO8859-8:GR
178 +XCOMM fs16 class (SUN.UNICODE.INDIA-0) (Indian Script)
181 + name SUN.UNICODE.INDIA-0:GLGR
184 + load_option delay_nocheck
185 + primary SUN.UNICODE.INDIA-0:GLGR
189 +XCOMM fs17 (Last, fallback) class (unicode-fontspecific)
192 + name UNICODE-FONTSPECIFIC:GLGR
195 + load_option delay_nocheck
196 + primary UNICODE-FONTSPECIFIC:GLGR
203 @@ -97,10 +226,108 @@ cs2 {
204 ct_encoding GB2312.1980-0:GL; GB2312.1980-0:GR
210 - ct_encoding ISO10646-1
216 + ct_encoding BIG5-0:GLGR
223 + ct_encoding JISX0208.1983-0:GL; JISX0208.1983-0:GR;
230 + ct_encoding JISX0201.1976-0:GL
237 + ct_encoding KSC5601.1992-3:GLGR
244 + ct_encoding TIS620-0:GR
250 + ct_encoding ISO8859-5:GR
257 + ct_encoding ISO8859-7:GR
264 + ct_encoding ISO8859-2:GR
271 + ct_encoding ISO8859-4:GR
277 + ct_encoding ISO8859-9:GR
285 + ct_encoding ISO8859-15:GR
292 + ct_encoding ISO8859-6:GLGR
298 + ct_encoding ISO8859-8:GR
305 + ct_encoding SUN.UNICODE.INDIA-0:GLGR
308 +XCOMM Last, fallback class
312 + ct_encoding UNICODE-FONTSPECIFIC:GLGR