亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

python - 微信公眾平臺客服接口中文亂碼?
巴扎黑
巴扎黑 2017-04-17 13:50:32
0
3
1174

微信公眾平臺客服接口中文亂碼的問題有人遇到過嗎?

巴扎黑
巴扎黑

reply all(3)
Ty80

Which one is it specifically? Is it related to similar functions of url_encode()

洪濤
// 將請求、響應的編碼均設置為UTF-8  
request.setCharacterEncoding("UTF-8");  
response.setCharacterEncoding("UTF-8");  
迷茫

This is caused by the json_encode function used when sending the message without using the JSON_UNESCAPED_UNICODE parameter. The correct way to use it is: json_encode($template, JSON_UNESCAPED_UNICODE).

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template