i\'m creating a XDocument like this:
XDocument doc = new XDocument( new XDeclaration(\"1.0\", \"utf-8\", \"yes\"));
when i save the document li
You will need to set the StreamWriter.Encoding to use UTF-8 instead of Unicode (UTF-16)
StreamWriter.Encoding
Seeing as it's not a StreamWriter this answer is only left for posterity.