?C#???URL????????System.Web.HttpUtility??UrlDecode???????:
using System; using System.Web; class Program { static void Main() { string url = "https://www.example.com/search?q=搜索"; string decodedUrl = HttpUtility.UrlDecode(url); Console.WriteLine(decodedUrl); } }
???????,????????URL???,????UrlDecode??????????,????????URL???????,??????"https://www.example.com/search?q=??"?