On Thu, Mar 03, 2005 at 09:27:33PM +0800, Tai-hwa Liang wrote: > >unsetenv LANG && env LC_ALL="zh_TW.Big5" perl -e exit > perl: warning: Setting locale failed. > perl: warning: Please check that your locale settings: > LC_ALL = "zh_TW.Big5", > LANG = (unset) > are supported and installed on your system. > perl: warning: Falling back to the standard locale ("C"). > >env LC_ALL="" perl -e exit > > Then check that your locale works at all: env LC_ALL="zh_TW.Big5" date or, in a C version: : #include <locale.h> : #include <stdio.h> : : int : main(void) : { : : if (NULL == setlocale(LC_ALL, "zh_TW.Big5")) : fprintf(stderr, "setlocale() failed\n"); : return (0); : } If not, make sure your /usr/share/locale/zh_TW.Big5/ is sane. MD5 (/usr/share/locale/zh_TW.Big5/LC_CTYPE) = 2f50c01305ee3c2315dd5392c1ab3d4d Also, could it be that you updated your world with -DNO_CLEAN buildworld? If yes, please follow the 20050227 src/UPDATING entry. Cheers, -- Ruslan Ermilov ru_at_FreeBSD.org FreeBSD committer
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:29 UTC