把这句 StreamReader sr = new StreamReader(fs, System.Text.Encoding.Default);
改成
StreamReader sr = new StreamReader(fs, System.Text.Encoding.UTF8);
就可以了
StreamReader sr = new StreamReader(fs, System.Text.Encoding.Default);
改成 试试
StreamWriter sw = new StreamWriter(fs, System.Text.Encoding.GetEncoding("GB2312"));