← Back to team overview

desktop-packages team mailing list archive

[Bug 230532] Re: Support for GB18030 locale is missing

 

Hardy has seen the end of its life and is no longer receiving any
updates. Marking the Hardy task for this ticket as "Won't Fix".

** Changed in: libx11 (Ubuntu Hardy)
       Status: Incomplete => Won't Fix

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libx11 in Ubuntu.
https://bugs.launchpad.net/bugs/230532

Title:
  Support for GB18030 locale is missing

Status in “libx11” package in Ubuntu:
  Fix Released
Status in “libx11” source package in Hardy:
  Won't Fix
Status in “libx11” source package in Intrepid:
  Fix Released

Bug description:
  Binary package hint: libx11-dev

  Bug exists on Ubuntu Release: 7.10 and 8.04

  This bug report is in reference to the question that I had raised in
  Ubuntu forum: http://ubuntuforums.org/showthread.php?t=751619.

  By default, Ubuntu does not install gb18030 locale.  However, you can
  easily set this up by executing following steps:

  1. Modify /var/lib/locales/supported.d/zh to include zh_CN.GB18030
  2. Run ' Sudo dpkg-reconfigure locales' to configure new locale.

  After performing above steps, you can now see the GB18030 locale when
  you run the "locale -a" command, but the locale does not work with
  applications that are built with X11.  After looking at the X11 source
  code from Xorg and contacting few people from Xorg community, I found
  that the GB18030 locale is not supported in X11.  This is because one
  of the Xorg patches for this problem
  (https://bugs.freedesktop.org/show_bug.cgi?id=1573) has not been
  pushed into the Xorg code base.  We've used this patch by getting the
  x11 source code and the patch seems to work well with GB18030 locale
  and it resolves this issue.  Can Ubuntu community do anything about
  including this patch?  There seems to few distributions such as SUSE,
  redhat that have included this patch on their platform.

  Steps for reproducing the problem:
  1. Log in to the desktop using Chinese locale (preferably gb18030 locale).
  2. Open a terminal.
  3. execute "locale" command verify that the locale is set to zh_CN.gb18030
  4. If the locale is not set to zh_CN.gb18030, then execute following command to change the locale: "export LANG=zh_CN.gb18030".
  5. Type some Chinese letters in the terminal (by first triggering the Chinese input method using CTRL + SPACE).) Notice that the Chinese characters are not rendered under this locale.

  The GB18030 locale is very important for Chinese locale.  As to my
  knowledge, all softwares sold in China by law requires that they
  support this locale.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libx11/+bug/230532/+subscriptions