浏览器部分中文乱码,怎么办
来源:7-3 带参数的get方法实现

qq_慕田峪8248634
2021-11-15
"description": "模拟一个不带参数的get请求",
"request": {
"uri": "/getdemo",
"method": "get"
},
"response": {
"text": "这是一二三123个没有参数的get请求"
}
},
{
“description”: “模拟带参数的get请求”,
“request”: {
“uri”: “/getwithparam”,
“method”: “get”,
“queries”: {
“name”: “huhansan”,
“age”: “18”
}
},
“response”: {
“text”: “我胡汉三又回来啦!!!”,
“headers”:{
“Content-Type”:“text/html;charset=utf-8”
}
}
}
]
设置 utf-8 不行 设置浏览器编码方式也不行
写回答
1回答
-
qq_慕田峪8248634
提问者
2021-11-15
已解决 设置了浏览器编码方式 GBK 可能是里面有空格
00
相似问题