Jason_liu

导航

2012年12月14日 #

C# 转换字符串形式的” \\u1234 “ 为 “ \u1234” 的unicode编码

摘要: string sIn = "\\u4fc4\\u7f57\\u65af\\u536b\\u56fd\\u6218\\u4e89\\u9898\\u6750MV\\u300a\\u6700\\u7231";//转换前 string sOut = "";//转换后 string[] arr = sIn.Split(new string[] { "\\u" }, StringSplitOptions.RemoveEmptyEntries); foreach (string s in ar... 阅读全文

posted @ 2012-12-14 22:40 Jason_liu 阅读(4123) 评论(0) 推荐(0) 编辑