Evaluate the phpurldecode function corresponding to the javascripturlencode function 1. use the encodeURI (), encodeURIComponent (), and escape () functions of js for url encoding. if you use the phpurldecode function to decode the result, the result cannot be decoded into normal Chinese. seek advice. evaluate the php url decode function corresponding to the javascript url encode Function
1. Try to use js's encodeURI (), encodeURIComponent (), and escape () functions for url encoding,
2. Use the php urldecode function to decode and the result cannot be decoded into normal Chinese.
Seek advice.
Reply content:
Evaluate the php url decode function corresponding to the javascript url encode Function
1. Try to use js's encodeURI (), encodeURIComponent (), and escape () functions for url encoding,
2. Use the php urldecode function to decode and the result cannot be decoded into normal Chinese.
Seek advice.
If your URL is Chinese and encoded in the same way, such as a UTF-8, use urldecode decoding to display Chinese. Not clear your actual situation.
The url encode encoding in javascript is in UTF-8 format, so you may need to check the encoding of your php file first.
And where is the normal display displayed? The database still returns to the page.
I don't know your scenario, but first look at the http://segmentfault.com/q/10100000001 here...