我有一个字符串.
%u957F%u5C9B%u516C%u5BD3我用UrlDecode解密:
System.Web.HttpContext.Current.Server.UrlDecode("%u957F%u5C9B%u516C%u5BD3")
可以得到正确对应的中文"长岛公寓" 但我用System.Web.HttpContext.Current.Server.UrlEncode("长岛公寓")
却得不到,%u957F%u5C9B%u516C%u5BD3请问是怎么回事,我用的是vs2010版C#.
急啊,不解决不能回家.