HEADS UP: LC_CTYPE format changed
Ruslan Ermilov
ru at freebsd.org
Thu Mar 3 05:43:59 PST 2005
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050303/6827f0ce/attachment.bin
More information about the freebsd-current
mailing list