2012年6月1日

C#中编码转换开发笔记

摘要: 中文转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" ,举 阅读全文

posted @ 2012-06-01 17:29 宋海鹏 阅读(3429) 评论(0) 推荐(0) 编辑

导航