[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: perl and utf8
On Mon, 11 Jan 2010 09:14:04 +0900, Anne Bennett
I reported that Perl complained once I changed to a utf8 locale:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LC_CTYPE = "en_CA.UTF-8",
LC_COLLATE = "C",
LANG = "en_CA.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
My locale settings are:
On Sun, 10 Jan 2010, OBATA Akio suggested:
exactly set LC_COLLATE=C LC_NUMERIC=C or PERL_BADLANG=0.
As you can see above, "LC_COLLATE=C LC_NUMERIC=C" were already the
case. PERL_BADLANG just sweeps the problem under the carpet.
I felt that your "My locale settings" are just result of "locale",
not exactly set COLLATE and LC_NUMERIC to "C".
This matter is FFFFFFFFFFFAQ, and not a pkgsrc problem.
If you think this issue is problem for you:
* request to Perl developers to change such behavior.
* request to NetBSD developers to implement LC_COLLATE and UTF-8 locales.
"Of course I love NetBSD":-)
OBATA Akio / obache%NetBSD.org@localhost
Main Index |
Thread Index |