aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/nls/XLC_LOCALE/zh_CN.gbk
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/nls/XLC_LOCALE/zh_CN.gbk')
-rw-r--r--nx-X11/nls/XLC_LOCALE/zh_CN.gbk71
1 files changed, 71 insertions, 0 deletions
diff --git a/nx-X11/nls/XLC_LOCALE/zh_CN.gbk b/nx-X11/nls/XLC_LOCALE/zh_CN.gbk
new file mode 100644
index 000000000..d90e82f65
--- /dev/null
+++ b/nx-X11/nls/XLC_LOCALE/zh_CN.gbk
@@ -0,0 +1,71 @@
+XCOMM
+XCOMM X11R6 L10N for Chinese GBK Encoding.
+XCOMM modified from xc/nls/XLC_LOCALE/zh_TW.Big5
+XCOMM by Sean Chen <seanc@turbolinux.com>
+XCOMM
+XCOMM $XFree86$
+
+XCOMM
+XCOMM XLC_FONTSET category
+XCOMM
+XLC_FONTSET
+XCOMM fs0 class (7 bit ASCII)
+fs0 {
+ charset {
+ name ISO8859-1:GL
+ }
+ font {
+ primary ISO8859-1:GL
+ vertical_rotate all
+ }
+}
+XCOMM fs1 class
+fs1 {
+ charset {
+ name GBK-0:GLGR
+ }
+ font {
+ primary GBK-0:GLGR
+ substitute GB13000.1993-1:GLGR
+ }
+}
+END XLC_FONTSET
+
+XCOMM
+XCOMM XLC_XLOCALE category
+XCOMM
+XLC_XLOCALE
+
+encoding_name zh_CN.GBK
+mb_cur_max 2
+state_depend_encoding False
+
+wc_encoding_mask \x00008000
+wc_shift_bits 8
+
+use_stdc_env True
+force_convert_to_mb True
+
+XCOMM cs0 class
+cs0 {
+ side GL:Default
+ length 1
+ wc_encoding \x00000000
+ ct_encoding ISO8859-1:GL
+}
+
+XCOMM cs1 class
+cs1 {
+ side none
+ length 2
+ byte1 \x81,\xfe
+ byte2 \x40,\x7e;\x80,\xfe
+
+ wc_encoding \x00008000
+ ct_encoding GBK-0:GLGR:\x1b\x25\x2f\x32
+
+ mb_conversion [\x8140,\xfefe]->\x0140
+ ct_conversion [\x0140,\x7efe]->\x8140
+}
+
+END XLC_XLOCALE