locale-zh_CN.gb18030.patch revision 943
688N/A###############################################################################
943N/A# Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
688N/A#
688N/A# Permission is hereby granted, free of charge, to any person obtaining a
919N/A# copy of this software and associated documentation files (the "Software"),
919N/A# to deal in the Software without restriction, including without limitation
919N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
919N/A# and/or sell copies of the Software, and to permit persons to whom the
919N/A# Software is furnished to do so, subject to the following conditions:
919N/A#
919N/A# The above copyright notice and this permission notice (including the next
919N/A# paragraph) shall be included in all copies or substantial portions of the
919N/A# Software.
919N/A#
919N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
919N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
919N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
919N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
919N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
919N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
919N/A# DEALINGS IN THE SOFTWARE.
688N/A#
688N/A
688N/Adiff -urp -x '*~' -x '*.orig' nls/zh_CN.gb18030/XI18N_OBJS nls/zh_CN.gb18030/XI18N_OBJS
688N/A--- nls/zh_CN.gb18030/XI18N_OBJS 2008-10-07 10:18:18.000000000 -0700
688N/A+++ nls/zh_CN.gb18030/XI18N_OBJS 2009-04-08 00:27:32.563032000 -0700
688N/A@@ -2,6 +2,6 @@
688N/A #
688N/A # XI18N objects table for zh_CN.gb18030 locale
688N/A #
688N/A-XLC common/xlcUTF8Load _XlcUtf8Loader # XLC_open
688N/A+XLC common/xlcGB18030 _XlcGb18030Loader # XLC_open
688N/A XIM common/ximcp _XimOpenIM _XimRegisterIMInstantiateCallback _XimUnRegisterIMInstantiateCallback # XIM_open XIM_register XIM_unregister
688N/A XOM common/xomGeneric _XomGenericOpenOM # XOM_open
688N/Adiff -urp -x '*~' -x '*.orig' nls/zh_CN.gb18030/XLC_LOCALE.pre nls/zh_CN.gb18030/XLC_LOCALE.pre
688N/A--- nls/zh_CN.gb18030/XLC_LOCALE.pre 2008-10-07 10:18:18.000000000 -0700
688N/A+++ nls/zh_CN.gb18030/XLC_LOCALE.pre 2009-04-08 00:27:32.563332000 -0700
688N/A@@ -1,70 +1,51 @@
688N/A XCOMM XFree86 NLS for Chinese encoding GB18030
688N/A-XCOMM Modified from xc/nls/XLC_LOCALE/en_US.UTF-8
688N/A-XCOMM by James Su <suzhe@turbolinux.com.cn>
688N/A
688N/A XCOMM
688N/A XCOMM XLC_FONTSET category
688N/A XCOMM
688N/A XLC_FONTSET
688N/A
688N/A-on_demand_loading True
688N/A-
688N/A-object_name generic
688N/A-
688N/A XCOMM We leave the legacy encodings in for the moment, because we don't
688N/A XCOMM have that many ISO10646 fonts yet.
688N/A XCOMM fs0 class (7 bit ASCII)
688N/A fs0 {
688N/A- charset {
688N/A- name ISO8859-1:GL
688N/A- }
688N/A- font {
688N/A- primary ISO8859-1:GL
688N/A- vertical_rotate all
688N/A- }
688N/A+ charset ISO8859-1:GL
688N/A+ font GBK1988.1989-0:GL;ISO8859-1:GL
688N/A }
688N/A-
688N/A-XCOMM fs1 class (ISO8859 families)
688N/A+XCOMM fs1 class
688N/A fs1 {
688N/A- charset {
688N/A- name ISO8859-1:GR
688N/A- }
688N/A- font {
688N/A- primary ISO8859-1:GR
688N/A+ charset GB18030.2000-0:GLGR
688N/A+ font {
688N/A+ primary GB18030.2000-0:GLGR,[\x8140,\xA0FE]
688N/A+ supplement sunudczh.GB18030.2000-0:GLGR,[\xA140,\xA1A0]->\x2121,\
688N/A+ [\xA240,\xA2A0]->\x2221,\
688N/A+ [\xA340,\xA3A0]->\x2321,\
688N/A+ [\xA440,\xA4A0]->\x2421,\
688N/A+ [\xA540,\xA5A0]->\x2521,\
688N/A+ [\xA640,\xA6A0]->\x2621,\
688N/A+ [\xA740,\xA7A0]->\x2721,\
688N/A+ [\xAAA1,\xAAFE]->\x2821,\
688N/A+ [\xABA1,\xABFE]->\x2921,\
688N/A+ [\xACA1,\xACFE]->\x2A21,\
688N/A+ [\xADA1,\xADFE]->\x2B21,\
688N/A+ [\xAEA1,\xAEFE]->\x2C21,\
688N/A+ [\xAFA1,\xAFFE]->\x2D21,\
688N/A+ [\xF8A1,\xF8FE]->\x2E21,\
688N/A+ [\xF9A1,\xF9FE]->\x2F21,\
688N/A+ [\xFAA1,\xFAFE]->\x3021,\
688N/A+ [\xFBA1,\xFBFE]->\x3121,\
688N/A+ [\xFCA1,\xFCFE]->\x3221,\
688N/A+ [\xFDA1,\xFDFE]->\x3321,\
688N/A+ [\xFEA1,\xFEFE]->\x3421
688N/A }
688N/A }
688N/A
688N/A-XCOMM fs2 class (Chinese Han Character)
688N/A+XCOMM fs2 class
688N/A fs2 {
688N/A- charset {
688N/A- name GB2312.1980-0:GL
688N/A- }
688N/A- font {
688N/A- primary GB2312.1980-0:GL
688N/A- }
688N/A-}
688N/A-
688N/A-XCOMM fs3 class (Chinese Han Character GBK)
688N/A-fs3 {
688N/A- charset {
688N/A- name GBK-0:GLGR
688N/A- }
688N/A- font {
688N/A- primary GBK-0:GLGR
688N/A- substitute GB13000.1993-1:GLGR
688N/A- }
688N/A+ charset GB18030.2000-1:GLGR
688N/A+ font GB18030.2000-1:GLGR
688N/A }
688N/A
688N/A-XCOMM fs4 class
688N/A-fs4 {
688N/A- charset {
688N/A- name ISO10646-1
688N/A- }
688N/A- font {
688N/A- primary GB18030-0
688N/A- substitute GBK2K-0
688N/A- }
688N/A-}
688N/A END XLC_FONTSET
688N/A
688N/A XCOMM
688N/A@@ -75,32 +56,33 @@ XLC_XLOCALE
688N/A encoding_name GB18030
688N/A mb_cur_max 4
688N/A state_depend_encoding False
688N/A+wc_encoding_mask \x00000000
688N/A+wc_shift_bits 7
688N/A+
688N/A
688N/A XCOMM cs0 class
688N/A cs0 {
688N/A- side GL:Default
688N/A- length 1
688N/A- ct_encoding ISO8859-1:GL
688N/A+ side GLGR:Default
688N/A+ length 2
688N/A+ wc_encoding \x00000000
688N/A+ ct_encoding GB18030.2000-0:GLGR
688N/A }
688N/A
688N/A XCOMM cs1 class
688N/A cs1 {
688N/A- side GR:Default
688N/A- length 1
688N/A- ct_encoding ISO8859-1:GR
688N/A+ side GLGR:Default
688N/A+ length 2
688N/A+ mb_encoding \x81\x30\x81\x30
688N/A+ wc_encoding \x00005e84
688N/A+ ct_encoding GB18030.2000-1:GLGR
688N/A }
688N/A-
688N/A+
688N/A XCOMM cs2 class
688N/A cs2 {
688N/A- side GR
688N/A- length 2
688N/A- ct_encoding GB2312.1980-0:GL; GB2312.1980-0:GR
688N/A-}
688N/A-
688N/A-XCOMM cs3 class
688N/A-cs3 {
688N/A- side none
688N/A- ct_encoding ISO10646-1
688N/A+ side GL:Default
688N/A+ length 1
688N/A+ wc_encoding \x00000000
688N/A+ ct_encoding ISO8859-1:GL
688N/A }
688N/A
688N/A END XLC_XLOCALE