That error message is raised by the following code:
unless (Encode::find_encoding($ENCODING_LOCALE)) { my $foundit; if (lc($ENCODING_LOCALE) eq "gb18030") { eval { require Encode::HanExtra; }; if ($@) { die "Need Encode::HanExtra to be installed to support locale c +odeset ($ENCODING_LOCALE), stopped"; } $foundit++ if Encode::find_encoding($ENCODING_LOCALE); } die "The locale codeset ($ENCODING_LOCALE) isn't one that perl can + decode, stopped" unless $foundit; }
Most likely, Encode cannot decode "cp1252". Did you package Encode::Byte with your program?
In reply to Re: The locale codeset (cp1252) isn't one that perl can decode, stopped at Encode/Locale.pm line 94.
by Corion
in thread The locale codeset (cp1252) isn't one that perl can decode, stopped at Encode/Locale.pm line 94.
by gepebril69
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |