Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2007 01:00:57 +0800
From:      ronggui <ronggui.huang@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   openoffice problem
Message-ID:  <38b9f0350709201000u7e827c5fm77d7bbc4ff2abef6@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
[wincent@pcbsd /usr/home/wincent]$ locale
LANG=zh_CN.GBK
LC_CTYPE="zh_CN.GBK"
LC_COLLATE="zh_CN.GBK"
LC_TIME="zh_CN.GBK"
LC_NUMERIC="zh_CN.GBK"
LC_MONETARY="zh_CN.GBK"
LC_MESSAGES="zh_CN.GBK"
LC_ALL=

When I start the OOs, I can input Chinese correctly unless I set
export LC_CTYPE=zh_CN.UTF-8 before I fireup the oos.

Even I can input Chinese by this messy way, but when I save odf by
Chinese filename, the filename is in UTF-8 encoding (and I can open
the file with GBK encoding character as filename). I guess the OOS use
UTF-8 as its default encoding, so my question is how to set the
relevant parameters so that the OOs works fine?

Thanks

-- 
Ronggui Huang

Department of Sociology, Fudan University, Shanghai, China

Department of Public and Social Administration, CityU, HK



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38b9f0350709201000u7e827c5fm77d7bbc4ff2abef6>