JamesNK / Newtonsoft.Json

Json.NET is a popular high-performance JSON framework for .NET
https://www.newtonsoft.com/json
MIT License
10.82k stars 3.26k forks source link

some foreign language become ???? #1401

Open gideon0709 opened 7 years ago

gideon0709 commented 7 years ago

i use vs2015 , my code like :

json = "{""山✈219西面站시면역-西面s-hotel-❤-s-motel"":{}}" t = Newtonsoft.Json.JsonConvert.DeserializeObject(json) Console.WriteLine(t)

i want correct result , but output is { "山?219西面站???-西面s-hotel-?-s-motel": {} }

Would you please tell me how to solve it ? thanks.

moh-hassan commented 7 years ago

Json.net display uni-code characters without a problem I tested your code and foreign chars are displayed correctly see fiddle online.