Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: uri_unescape not correct

by valdez (Monsignor)
on Apr 02, 2007 at 07:18 UTC ( #607767=note: print w/ replies, xml ) Need Help??


in reply to uri_unescape not correct

That code works properly on my computer, it is probably just a visualization effect; my console is UTF-8 and shows the proper accented letters, ie ì

Ciao, Valerio


Comment on Re: uri_unescape not correct
Replies are listed 'Best First'.
Re^2: uri_unescape not correct
by rsiedl (Friar) on Apr 02, 2007 at 07:40 UTC
    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?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://607767]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (16)
As of 2015-07-07 19:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls