I'm using post man code generate c# into the my code, send any request in postman and get arabic character correctly but when that code copy into my c# project with this source code:
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json;charset=UTF-8");
request.AddHeader("Content-Encoding", "text/csv");
request.AddParameter("application/json;charset=UTF-8", "{\r\n \"params\": {\r\n \"auth_remoteaddr\": \"192.168.1.101\",\r\n \"auth_type\": \"ADMIN\",\r\n \"auth_name\": \"system\",\r\n \"auth_session\": \"4crswevkjutd\",\r\n \"normal_username\": \"10001084\"\r\n },\r\n \"method\": \"user.getUserInfo\"\r\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
get this response:
"name": "\u0633\u0647\u0646\u062f \u0633\u0627\u0631\u06cc \u0627\u0635\u0644\u0627"
Can't get the Arabic characters but in postman show it correct. How can I solve that problem?