Skip Menu |

This queue is for tickets about the Encode-DoubleEncodedUTF8 CPAN distribution.

Report information
The Basics
Id: 24994
Status: resolved
Priority: 0/
Queue: Encode-DoubleEncodedUTF8

People
Owner: Nobody in particular
Requestors: nikita.dedik [...] bulyon.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: (no value)
Fixed in: 0.02



Subject: The only example in POD doesn't work!
use Encode; use Encode::DoubleEncodedUTF8; my $string = "\x{5bae}"; my $bytes = encode_utf8("\x{5bae}"); my $dodgy_utf8 = $string . $bytes; # $bytes is now double encoded my $fixed = decode("utf-8-de", $dodgy_utf8); # "\x{5bae}\x{5bae}" This example doesn't work. "Cannot decode string with wide characters at <...>/Perl/lib/Encode.pm line 166." This is perl, v5.8.8 built for MSWin32-x86-multi-thread