Skip Menu |

This queue is for tickets about the jQuery-File-Upload CPAN distribution.

Report information
The Basics
Id: 88023
Status: new
Priority: 0/
Queue: jQuery-File-Upload

People
Owner: Nobody in particular
Requestors: jonas [...] paranormal.se
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.16
Fixed in: (no value)



Subject: Double-encoded UTF-8 in output
non-ascii file names passed in UTF8 will be taken as Latin1 and encoded again in output. This could be handled safely with the code: use Encode; # encode decode my $cfn = $j_fu->client_filename; my $dcfn = ""; while( length $cfn ) { $dcfn .= decode("UTF-8", $cfn, Encode::FB_QUIET); $dcfn .= substr($cfn, 0, 1, "") if length $cfn; } $j_fu->client_filename($dcfn); $j_fu->_generate_output;