XmlTextWriter 设置其他的encoding的方式 :System.Text.Encoding.GetEncoding(); 例如:System.Text.Encoding.GetEncoding("GB2312");