1.写文件设置文件编码方式
System.IO.StreamWriter file = new System.IO.StreamWriter(newFilePath, true,System.Text.Encoding.Unicode);
2.写入文本时输出换行
file.Write(script + " ");
1.写文件设置文件编码方式
System.IO.StreamWriter file = new System.IO.StreamWriter(newFilePath, true,System.Text.Encoding.Unicode);
2.写入文本时输出换行
file.Write(script + " ");