Bug#718611: Encode.pm: Cannot decode string with wide characters.

Niko Tyni ntyni at debian.org
Mon Aug 5 06:11:46 UTC 2013


tag 718611 moreinfo
thanks

On Sat, Aug 03, 2013 at 10:48:12AM +0700, Sthu wrote:
> Package: perl
> Version: 5.14.2-21
> Severity: normal
> 
> In my script previously working well, is now broken with this error:
> 
> Cannot decode string with wide characters at /usr/lib/perl/5.14/Encode.pm line 174.
> 
> That is called from the script w/
> 
> decode( "UTF-8", $file_path );

Hi,

the error indicates that you're decoding an already-decoded string.
See for instance
 http://stackoverflow.com/questions/12994100/perl-encode-pm-cannot-decode-string-with-wide-character

Could you please provide a test program that shows the problem?
Without that, we can't really know if it's a bug in Perl/Encode or just
in your script.

Regards,
-- 
Niko Tyni   ntyni at debian.org




More information about the Perl-maintainers mailing list