Refer to the following:
If you submit it through form, you do not need to use this. However, if you use a URL
For example, if Ajax is submitted to the backend, the URL must be encoded with encodeuri,
Otherwise, various garbled characters may occur in the background. If encodeuri is not added, the browser encoding format is submitted by default,
In this case, the values transmitted to the backend are different for different browsers,
Therefore, we recommend that you use encodeuri to uniformly encode the UTF-8 format to the background, and then process and decode it in the background,
If the backend is UTF-8, it seems that you can not manually decode it,
However, we recommend that you add decoding to avoid problems when the release environment is different.
Http://zhidao.baidu.com/link? Url = tN7GJuUrAnBxlga5XCm2oz617WePAisX3VTvGsdSR46PWO74xdsf-7gunOwGbNi8j0sDkytb9b6eHqEGREpA8cwP3po5x4GffSKUCAotpxO