将unicode转为AscII编码就可以了,网上有直接可以转换的工具。http://www.chinaue.com/tool/uni.htm
经过转换。楼主基本完整  == 基本完成

解决方案 »

  1.   

    怎么把整段代码转成汉字啊,有什么库可以用吗?我是在.NET平台上遇到问题的啊
      

  2.   

    System.Text
    这个空间下有方法可以转。
      

  3.   

    具体如何转哦,试了几次都不行啊?是这样吗
     Encoding.Convert(Encoding.Unicode, Encoding.ASCII, Encoding.Unicode.GetBytes("基本完整"));
      

  4.   


    //记得using System.Text.RegularExpressions;
    string str = "基本完&#25972";
    Regex reg = new Regex(@"&#(\d+);");
    MatchCollection mc = reg.Matches(str);
    StringBuilder sb = new StringBuilder();
    foreach (Match m in mc)
    {
         string c = m.Groups[1].Value;
         sb.Append((char)Convert.ToInt32(c));
    }
    MessageBox.Show(sb.ToString());