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

Bug#265225: openoffice.org-debian-files: Setting and exporting LANG seems unneccessary



Package: openoffice.org-debian-files
Version: 1.1.2-3+1
Severity: important

Hello,

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
but still have 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 seems to have been
caused by setting and exporting of LANG environment variable within the
openoffice script. Removing the following two lines fixed the problem
for me:

LANG=$LOCALE
export LANG

Also, after making this modification, I found that the openoffice script
no longer spat out:

I18N: Operating system doesn't support locale ""

during starting-up. Everything worked perfectly afterward.

Regards,
David Zhu

P.S. Originally I posted this bug report as a follow-up of bug #248030,
but apparently it went unnoticed, so I'm posting it again as a new bug.


-- System Information:
Debian Release: 3.1
  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





Reply to: