Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Mar 2005 15:44:06 +0200
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Tai-hwa Liang <avatar@mmlab.cse.yzu.edu.tw>
Cc:        current@freebsd.org
Subject:   Re: HEADS UP: LC_CTYPE format changed
Message-ID:  <20050303134406.GA98603@ip.net.ua>
In-Reply-To: <0503032125280.27085@www.mmlab.cse.yzu.edu.tw>
References:  <20050226223215.GF93910@ip.net.ua> <05030310251113.18739@www.mmlab.cse.yzu.edu.tw> <20050303091231.GA95832@ip.net.ua> <0503032125280.27085@www.mmlab.cse.yzu.edu.tw>

next in thread | previous in thread | raw e-mail | index | archive | help

--3MwIy2ne0vdjdPXF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 03, 2005 at 09:27:33PM +0800, Tai-hwa Liang wrote:
> >unsetenv LANG && env LC_ALL=3D"zh_TW.Big5" perl -e exit
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
> 	LC_ALL =3D "zh_TW.Big5",
> 	LANG =3D (unset)
>     are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
> >env LC_ALL=3D"" perl -e exit
> >

Then check that your locale works at all:

env LC_ALL=3D"zh_TW.Big5" date

or, in a C version:

: #include <locale.h>
: #include <stdio.h>
:=20
: int
: main(void)
: {
:=20
:         if (NULL =3D=3D 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) =3D 2f50c01305ee3c2315dd5392c1a=
b3d4d

Also, could it be that you updated your world with -DNO_CLEAN buildworld?
If yes, please follow the 20050227 src/UPDATING entry.


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--3MwIy2ne0vdjdPXF
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFCJxSmqRfpzJluFF4RArGoAJ9xu4Qw098u5RNQFgnPJZOLHTsuUACgkYiZ
Uoc0LhNh5ORemSgiuWvN1hU=
=5eA2
-----END PGP SIGNATURE-----

--3MwIy2ne0vdjdPXF--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050303134406.GA98603>