Special characters in object making JSON invalid (DataContractJsonSerializer)
问题 I'm trying to serialize an object which has a special character in on of his strings (like ø or æ). The problem is that when I use a special character like that, the last bit of my JSON is cut off? Without special characters: {"availability":"busy","name":"test","visibility":"public"} With special characters: {"availability":"busy","name":"tøst","visibility":"public" I notice that for each special character, a character is cut off of my JSON string. I use following code to serialize: //