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

Re: perl locale问题。



这个问题解决了。我参考debian-user-list中一个西班牙人的做法,
把环境变量设置成:
            LC_ALL = "zh_CN",
            LC_CTYPE = "GB2312",
            LANG = "zh_CN.GB2312"
这个错误提示就没有了。
但是我不明白为什么,谁能帮我解释一下?

另外,虽然错误提示没有了,可是中文显示还是不对,gnome进去全是乱码。
xsim毫无反应,执行xsim就象泥牛入海,音信皆无。zhcon下也不能显示中
文的文件名。

	

======= 2002-07-29 15:14:00 您在来信中写道:=======

>各位好!
>  我新装的woody,perl运行时报告:
>
>	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
>作了设置,还需要做什么?
>	
>  刚刚发现,新装的xsim运行时也报告can't set locale.
>
>        致
>礼!
> 				
>
>        Eric.Hu
>        Eric_Hu@sina.com
>          2002-07-29
>
>
>
>
>-- 
>To UNSUBSCRIBE, email to debian-chinese-gb-request@lists.debian.org
>with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

= = = = = = = = = = = = = = = = = = = =
			

        致
礼!
 
				 
        Eric.Hu
        Eric_Hu@sina.com
          2002-07-30





-- 
To UNSUBSCRIBE, email to debian-chinese-gb-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: