urlencode function returns a different results than if you copied the non-English words from the browser to the php file.
For example here's the results if I copied the non-english word from the browser :
%D9%85%D8%B5%D8%B1
And here's the result of the same word using the normal php urlencode :
%E3%D5%D1
And if I tried to decode these two results using urldecode it returns the same word correctly :bemused:
What's the problem ?