1. It is a foreground server, and the background coding is inconsistent
Causes garbled characters when receiving
2 Encoding functions to process strings through front-end js
encodeURI for encoding (the encoding set of encoding is utf-8)
Specific solution connection:
http://blog.csdn.net/lilovfly/article/details/70256383
http://blog.csdn.net/Ditto_zhou/article/details/72471569