[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

-- 
| This message was re-posted from debian-chinese-gb@lists.debian.org
| and converted from gb2312 to big5 by an automatic gateway.


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



Reply to: