解决 .net core基础之编码问题-System.ArgumentException: ‘gb2312‘ is not a supported encoding name

摘要: 在利用webClient 抓取 编码方式为 GB2312 网页 提示不支持‘gb2312‘ is not a supported encoding name 解决办法 : 1.nuget引用dll:System.Text.Encoding.CodePages 2. startup文件中配置 //直接 阅读全文
posted @ 2021-10-29 10:32 码农at突泉 阅读(1095) 评论(0) 推荐(0)