Package: openoffice.org-debian-files Version: 1.1.2-2+1 Followup-For: Bug #248030
Hi, In my system setup, I set LC_CTYPE to zh_CN.UTF-8 while leaving all other locale related variables to default. This way I can use a Chinese input server such as SCIM and FCITX to type in Chinese under X-Windows, while still having an English user interface. However, this doesn't work under OpenOffice where I cannot activate the input server even if I set LC_CTYPE to zh_CN.UTF-8. I've found that the problem has been caused by setting and exporting of LANG environment variable within the openoffice script. The following patch fixes the problem for me: --- openoffice.orig 2004-07-26 19:12:34.000000000 +0800 +++ openoffice 2004-07-26 19:12:07.000000000 +0800 @@ -331,8 +331,8 @@ ## ## That's it. Launch the beast (with the given args) ## -LANG=$LOCALE -export LANG +#LANG=$LOCALE +#export LANG exec "/usr/lib/openoffice/program/soffice" "$@" ## Changelog Regards, David Zhu -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.7-1-686 Locale: LANG=C, LC_CTYPE=zh_CN.UTF-8 Versions of packages openoffice.org-debian-files depends on: ii debianutils 2.8.4 Miscellaneous utilities specific t ii openoffice.org 1.1.2-2 high-quality office productivity s ii openoffice.org-bin 1.1.2-2 OpenOffice.org office suite binary -- no debconf information

