in reply to The locale codeset (cp1252) isn't one that perl can decode, stopped at Encode/Locale.pm line 94.
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: The locale codeset (cp1252) isn't one that perl can decode, stopped at Encode/Locale.pm line 94.
by gepebril69 (Scribe) on Jul 11, 2012 at 12:08 UTC | |
by Corion (Patriarch) on Jul 11, 2012 at 12:10 UTC | |
by gepebril69 (Scribe) on Jul 11, 2012 at 13:03 UTC |