-1
我有一個寧靜 swagger API。如何解決亂碼字符中國(GB2312)如何修復亂碼的中文?
server.ServiceModel.Customer {
Email: "[email protected]*foxmail*.com"
Login: "test01"
Mobile_phone: "18018187878"
Notes: "嫺嬭瘯"
Password: "123456"
}
請求:
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
你解決問題了嗎?你能解釋一下你期望的行爲有什麼不同嗎? –