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?
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|