- Home /
How can I serialize and deserialize XMLs with special characters?
I'm having fun with XML serialization these days, but it caught my notice that when trying to serialize special characters, such as č, ć, đ, š, etc., they appear as '?'. I know that it has to do with the fact that perhaps the XML type I'm using doesn't allow such characters, but I don't think that XML in general doesn't allow them.
So I started looking for some kind of options which would let me choose a format, but after hours of looking, I couldn't find anything like it. So, I was wondering, is there some way I could make the XmlSerializer serialize as unicode or any kind of format that supports the aforementioned characters?
Your answer
Follow this Question
Related Questions
Confusion with process of XML setup 0 Answers
Parse XML to Vector3 (and other objects you don't control) 0 Answers
Problems with the XML Serializer 1 Answer
unity and xml question 1 Answer