how to decode strings using php
Posted: Wed Feb 13, 2008 2:10 am
Hi
i use this js function to decode my strings like (%u0645%u062D%u0645%u062F) and works very well and returns correct results with me
unescape(encoded.replace(/\+/g, " "));
i want php function that can do the same.
i try urldecode and rawurldecode but they do nothing !! just return the strings as it is .
thanks in advance.
i use this js function to decode my strings like (%u0645%u062D%u0645%u062F) and works very well and returns correct results with me
unescape(encoded.replace(/\+/g, " "));
i want php function that can do the same.
i try urldecode and rawurldecode but they do nothing !! just return the strings as it is .
thanks in advance.