json格式返回到cmd中crul中文乱码问题

response.setContentType("text/json");
/* 设置字符集为'UTF-8' */
response.setCharacterEncoding("GBK");

posted @ 2017-03-22 16:08  shizhi15  阅读(407)  评论(0编辑  收藏  举报