StreamWriter sw = new StreamWriter(xmlFileName, false, new UTF8Encoding(false)); xmldoc.Save(sw); sw.Close(); 相关文章: