C#将中文转换成UTF-8编码

HttpUtility.UrlEncode("字符串", Encoding.UTF8);

 

posted @ 2021-11-10 17:34    阅读(2565)  评论(0编辑  收藏  举报