如代码:
string content = File.ReadAllText(path, Encoding.Default); File.WriteAllText(path, content, Encoding.UTF8);
时间: 2024-10-06 21:29:08
如代码:
string content = File.ReadAllText(path, Encoding.Default); File.WriteAllText(path, content, Encoding.UTF8);