1、可以通过后端返回前端的reponse中设置我们的http的首部字段,将编码设置成utf-8或者其他编码格式。
response.setContentType("application/json;charset=utf-8");