|
|
use of uri_unescape - Perl
|
Views : 723
|
|
Tagged in : Perl
|
|
|
Report This Scrap as Inappropriate We request you to choose the appropriate categroy and subcategory that suits your
objectionable concern about the scrap, So that our team can review and find out whether it violates our Guidelines or the
scrap is not suitable for all viewers.
|
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 |
|
|
|