string str_ImportName="AA.统计表1";
如果把 str_ImportName 转化为GB2312 格式?StreamWriter sw=File.CreateText(FullFilename);
sw.WriteLine(UnitName);
sw.Close();
这里输出的是乱码
如何才能如何才能转换成GB2312 呢?
如果把 str_ImportName 转化为GB2312 格式?StreamWriter sw=File.CreateText(FullFilename);
sw.WriteLine(UnitName);
sw.Close();
这里输出的是乱码
如何才能如何才能转换成GB2312 呢?
<globalization responseEncoding="utf-8" requestEncoding="utf-8" />改为:
<globalization responseEncoding="GB2312" requestEncoding="GB2312" />试试。
问题解决