中文转Unicode:HttpUtility.UrlEncodeUnicode(string str); 
转换后中文格式:"%uxxxx"  举例:"柳_abc123"  转换结果是:"%u67f3_abc123"

Unicode转中文1:HttpUtility.UrlDecode(string str);
str格式:"%uxxxx" ,举例:"%u67f3_abc123"

Unicode转中文2:Regex.Unescape(string str);
str格式:"\uxxxx" ,举例:"\u67f3_abc123"

参考:http://www.yongfa365.com/Item/Unicode-Chinese-UrlEncodeUnicode-Unescape.html

相关文章:

  • 2022-01-07
  • 2021-12-29
  • 2022-12-23
  • 2022-12-23
  • 2022-01-31
  • 2021-05-23
  • 2021-06-11
  • 2021-07-04
猜你喜欢
  • 2021-11-30
  • 2022-12-23
  • 2021-06-21
  • 2021-05-15
  • 2022-12-23
  • 2021-07-15
  • 2022-12-23
相关资源
相似解决方案