Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Mono for Android (C#) 和 WebClient DownloadString 来获取 HTML 网站的源代码,该网站使用特殊字符(č、š、ž)。但是在显示代码时,它会显示 � 而不是字符。有没有办法显示正确的字符?
此代码删除或替换字符串中的特殊字符 ....
C# 中的 System.Net.WebUtility.HtmlDecode(..)