i'm not so sure. i modified my code to:
#!/usr/bin/perl
use strict;
use warnings;
use URI::Escape;
my $terms = "%22Celades%22+%22Aspectos+cl%C3%ADnicos+*+*+menopausia%22
+";
print "Expecting: \"Celades\"+\"Aspectos+clínicos+*+*+menopausia\"\n";
print "Returning: ",uri_unescape($terms),"\n";
exit;
and it returned:
Expecting: "Celades"+"Aspectos+clínicos+*+*+menopausia"
Returning: "Celades"+"Aspectos+clÃnicos+*+*+menopausia"
if it were a visual thing wouldnt they both be wrong?
perhaps it is to do with the version of URI::Escape? mine is 3.28, yours? |