I have a restful swagger API. How do I resolve the garbled Chinese characters (GB2312)?
server.ServiceModel.Customer {
Email: "test01@*foxmail*.com"
Login: "test01"
Mobile_phone: "18018187878"
Notes: "娴嬭瘯"
Password: "123456"
}
Request:
Origin: http://127.0.0.1:8088
Connection: keep-alive
Content-Length: 92
Content-Type: application/x-www-form-urlencoded
Accept: application/json
Accept-Encoding: *gzip*, deflate
Accept-Language: zh-CN,zh;q=0.8,en;q=0.6
Host: 127.0.0.1:8088
Referer: http://127.0.0.1:8088/*swagger-ui*/
User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 *Safari*/537.36
- EncodingName:"简体中文(GB2312)"
- ServiceStack.Api.Swagger 4.5.0.0
- ServiceStack