Re: perl locale問題。
On Mon, Jul 29, 2002 at 03:14:28PM +0800, Eric.Hu wrote:
> Perl: Warning: Setting locale failed.
> Perl: Warning: Please check that your loacle settings:
> LANGUAGE = (unset),
> LC_ALL = "zh_CN.GB2312",
> LC_CTYPE = "zh_CN.GB2312",
> LANG = "zh_CN.GB2312"
> are supported and installed on your system.
> Perl: Warning: Falling back to the standard locale ("C").
>
> 我已經安裝了Locale,設置了/etc/locale.gen,並用locale-gen產生了
> GB2312和UTF-8兩個locale。相關的環境變量也按照debian-chinese-fag
> 作了設置,還需要做什麼?
See your /usr/lib/locale/zh_CN, you need a LC_CTYPE there.
man localedef
man setlocale
You can do a:
localedef -c -i zh_CN -f zh_CN GB2312
--
hashao| 為學日益,為道日損。損之又損,以至于無為。
hashao| 無為而無不為。取天下常以無事,及其有事,不足以取天下。
--
To UNSUBSCRIBE, email to debian-chinese-gb-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
--
| This message was re-posted from debian-chinese-gb@lists.debian.org
| and converted from gb2312 to big5 by an automatic gateway.
Reply to: