很可能是你的文件是其它的编码,希望不出现乱码,很简单,将编码指向为默认的就行,如:Encoding code = Encoding.Default;而不要使用Encoding code = Encoding.GetEncoding("utf-8");祝你好运
改成 GBK