日期:2014-05-18  浏览次数:20708 次

一个解码的问题
"name":"\u8fd0\u901a110(\u534a\u58c1\u5e97-\u6765\u5e7f\u8425\u5317)",
从文本中读取的字符串 有 unicode 编码 \u534a

如何用程序 将unicode 转为汉字

(注:文本文件中的内容是从html中直接保存下来的)

------解决方案--------------------

http://apps.hi.baidu.com/share/detail/16935311
------解决方案--------------------
C# code

  string un = @"\u8fd0\u901a110(\u534a\u58c1\u5e97-\u6765\u5e7f\u8425\u5317)";
  string qw = Regex.Unescape(un);//"运通110(半壁店-来广营北)"