Namazu-users-ja(旧)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LANG の設定
いつもお世話になっております。NEC情報システムズの笠井 峰生です
Sat, 16 Mar 2002 10:51:29 +0900 の
[namazu-users-ja] LANG の設定 への返信です。
>perl: warning: Setting locale failed.
>perl: warning: Please check that your locale settings:
> LANGUAGE = (unset),
> LC_ALL = (unset),
> LANG = "ja"
> are supported and installed on your system.
>perl: warning: Falling back to the standard locale ("C").
これ、perlが怒ってるんじゃないですか?
環境変数 PERL_BADLANG を調べてみてください。
ActivePerl の Perl/html/lib/Pod/perllocale.html 曰く:
Temporarily fixing locale problems
The two quickest fixes are either to render Perl silent about any locale inconsistencies or to run Perl under the default locale ``C''.
Perl's moaning about locale problems can be silenced by setting the environment variable PERL_BADLANG to a zero value, for example ``0''. This method really just sweeps the problem under the carpet: you tell Perl to shut up even when Perl sees that something is wrong. Do not be surprised if later something locale-dependent misbehaves.
(後略)
--
Mineo Kasai <kasai@xxxxxxxxxxxxx>
ミ☆ NIS -NEC Informatec Systems ltd.-
TEL: 03-5427-2404 FAX: 03-5427-2406