Support for GB18030 locale is missing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libx11 (Ubuntu) |
Fix Released
|
Medium
|
Bryce Harrington | ||
Hardy |
Won't Fix
|
Undecided
|
Unassigned | ||
Intrepid |
Fix Released
|
Medium
|
Bryce Harrington |
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://
By default, Ubuntu does not install gb18030 locale. However, you can easily set this up by executing following steps:
1. Modify /var/lib/
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:/
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_
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.
Changed in libx11: | |
assignee: | nobody → bryceharrington |
Changed in libx11: | |
status: | New → Incomplete |
It would be very useful if this were fixed in Ubuntu. We need to apply this patch to make our control systems comply with Chinese specs.