[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#255224: xlibs-data: Patch for bug of ct_encoding sequence in zh_CN.gbk locale



Package: xlibs-data
Version: 4.3.0-7
Severity: normal
Tags: patch


It has been fixed in official XFree86, see
  http://bugs.xfree86.org/show_bug.cgi?id=1362
for more detail.

Thanks.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.2-1-k7
Locale: LANG=zh_CN, LC_CTYPE=zh_CN (ignored: LC_ALL set to zh_CN.GBK)

-- no debconf information

-- 
SU Yong

cd /tmp/xfree86-4.3.0.dfsg.1/build-tree/xc/nls/XLC_LOCALE/
diff -c /tmp/xfree86-4.3.0.dfsg.1/build-tree/xc/nls/XLC_LOCALE/zh_CN.gbk /tmp/xfree86-4.3.0.dfsg.1/build-tree/xc/nls/XLC_LOCALE/zh_CN.gbk.orig
*** /tmp/xfree86-4.3.0.dfsg.1/build-tree/xc/nls/XLC_LOCALE/zh_CN.gbk	2004-06-19 23:58:58.000000000 +0800
--- /tmp/xfree86-4.3.0.dfsg.1/build-tree/xc/nls/XLC_LOCALE/zh_CN.gbk.orig	2004-06-19 23:55:44.000000000 +0800
***************
*** 62,68 ****
  	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
--- 62,68 ----
  	byte2		\x40,\x7e;\x80,\xfe
  
  	wc_encoding	\x00008000
! 	ct_encoding	GBK-0:GLGR:\x1b\x25\x2f\x32\x80\x88\x47\x42\x4b\x2d\x30\x02
  
  	mb_conversion	[\x8140,\xfefe]->\x0140
  	ct_conversion	[\x0140,\x7efe]->\x8140

Diff finished at Sun Jun 20 00:06:42

Reply to: