C# 编码来自httpClient.PostAsync的响应

C# 编码来自httpClient.PostAsync的响应,c#,post,encoding,windows-phone-8.1,C#,Post,Encoding,Windows Phone 8.1,我对服务器响应的编码有一些问题 我从android客户端和windows phone客户端发送此字符串: {"debug":"false","action":"test","option":{"0":"È","1":"è"}} 在android客户端中,我看到了这种响应 [{"id_option":73,"description":"\u00e8"},{"id_option":74,"description":"\u00c8"}] 这没问题,但在Windows Phone客户端中,我收到以

我对服务器响应的编码有一些问题

我从android客户端和windows phone客户端发送此字符串:

{"debug":"false","action":"test","option":{"0":"È","1":"è"}}
在android客户端中,我看到了这种响应

 [{"id_option":73,"description":"\u00e8"},{"id_option":74,"description":"\u00c8"}]
这没问题,但在Windows Phone客户端中,我收到以下响应:

[{"id_option":75,"description":"\u00c3\u0088"},{"id_option":76,"description":"\u00c3\u00a8"}]
服务器是相同的

windows phone通信部分如下所示:

    var obj = new JsonObject();
            obj.Add("debug", JsonValue.CreateStringValue("false"));
            obj.Add("action", JsonValue.CreateStringValue("test"));
            obj.Add("option", optionJson);   
 var values = new List<KeyValuePair<string, string>>
                                {
                                    new KeyValuePair<string, string>("values", obj.Stringify()),                  
                                };
                HttpResponseMessage response = await httpClient.PostAsync(urlPath, new FormUrlEncodedContent(values));
                response.EnsureSuccessStatusCode();
                var responseString = await response.Content.ReadAsStringAsync();
                Debug.WriteLine(responseString);
var obj=new JsonObject();
obj.Add(“debug”,JsonValue.CreateStringValue(“false”);
obj.Add(“action”,JsonValue.CreateStringValue(“test”);
添加(“选项”,optionJson);
var值=新列表
{
新的KeyValuePair(“值”,obj.Stringify()),
};
HttpResponseMessage response=等待httpClient.PostAsync(urlPath,新表单URLEncodedContent(值));
response.EnsureSuccessStatusCode();
var responseString=await response.Content.ReadAsStringAsync();
Debug.WriteLine(responseString);

您能检查两种情况下的确切请求/响应吗?(例如使用小提琴手)。可能你发送了不同的接受或编码值。我认为c#发送了一个UTF16编码的字符串…但我不知道如何更改编码