javascript - How to get the Chinese parameter value on the address bar, code it in the JS page, and use it normally?
学习ing2017-06-28 09:26:17
0
3
758
The first picture is the Chinese parameters passed from the previous page The second picture is the current page from Parameters obtained from the address bar
Try decodeURI or decodeURIComponent, otherwise it’s an encoding problem
Use encodeURIComponent (parameter) to encode before jumping
Use decodeURIComponent (parameter) to decode after the jump