Gossamer Forum
Home : General : Perl Programming :

Re: [Andy] another encoding problem

Quote Reply
Re: [Andy] another encoding problem In reply to
i commented the lines:
Code:
$value =~ tr/+/ /;
$name =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
$value =~ tr/+/ /;
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
that seems to have fixed the problem without breaking anything else. someone at stackoverflow said i was double decoding with those lines, whatever that means!
Subject Author Views Date
Thread another encoding problem delicia 2384 Jul 21, 2022, 7:24 AM
Thread Re: [delicia] another encoding problem
delicia 2319 Jul 21, 2022, 6:20 PM
Thread Re: [delicia] another encoding problem
Andy 2312 Jul 22, 2022, 8:46 AM
Thread Re: [Andy] another encoding problem
delicia 2312 Jul 22, 2022, 9:20 AM
Thread Re: [delicia] another encoding problem
Andy 2303 Jul 22, 2022, 10:17 PM
Thread Re: [Andy] another encoding problem
delicia 2299 Jul 23, 2022, 5:41 AM
Post Re: [delicia] another encoding problem
Andy 2294 Jul 23, 2022, 5:51 AM