乱码示例:儊僜僢僪幚峴
解决方法:
var dstEncoding= Encoding.GetEncoding("shift_jis"); var srcEncoding= Encoding.GetEncoding("gbk"); Console.WriteLine(dstEncoding.GetString(srcEncoding.GetBytes(tetx)));
咋还删不掉呢标签:srcEncoding,c#,日文,乱码,GetEncoding,dstEncoding,var From: https://www.cnblogs.com/rwhaoo/p/16788684.html