Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: UTF8 URI Escaping

by Khen1950fx (Canon)
on Apr 11, 2012 at 18:08 UTC ( #964591=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -l
    
    ...
    my $safe = uri_escape($f);
    my $str  = uri_unescape($safe);
    print uri_unescape($str);
    
  2. or download this
    #!/usr/bin/perl -l
    
    ...
    my $utf8 = decode( "Detect", $data );
    binmode STDOUT, ":encoding(utf8)";
    print "$utf8: Looks like utf8 to me";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2014-07-31 12:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (248 votes), past polls