use of uri_unescape - Perl Views : 723
Tagged in : Perl
0 0
Send mail
In perl when we post values with special characters it is converted(encoded) into series of ascii characters
Inorder to get the original value we have to use uri_unescape function
$review="vis-a%5Ck%3A%60-vis Beyonce%5Ck%3A%27naieve%5Cnpapier-ma%5Ck%3A%5Eche%5Ck%3A%27re%5Ck%3A%27%7C%5Cn%3Au";
$rev= uri_unescape($review);

Result:
vis-a\k:`-vis Beyonce\k:'naieve\npapier-ma\k:^che\k:'re\k:'|\n:u
By kalai, On - 2010-01-23



    Login to add Comments .