unity3d can't load xml while encoding is gb2312

[16682-qq图片20131018145821.jpg|16682]

Just i said,when i run in the unity3d the xml will be analysis the gb2312 perfect.but when i build the scene and run on the windows ,the scene has trouble! the error is like the picture said.

If the XML parser doesn’t support gb2312, I think you’ll just have to convert it before parsing it.

This StackOverflow question looks like it will sort you on the character conversion.

I assume you will also need to change the encoding tag in the XML yourself though. I’m not familiar enough with XML to know if there is a “correct” way to do that, but if not a bit of string manipulation should do it.