[英]Mono for Android WebClient Special characters
I'm using Mono for Android (C#) and WebClient DownloadString to get source code of a HTML website, that uses special characters (č,š,ž). 我正在使用Mono for Android(C#)和WebClient DownloadString来获取HTML网站的源代码,该网站使用特殊字符(č,š,ž)。 But when displaying the code, it shows instead of the characters.
但是在显示代码时,它显示``而不是字符。 Is there a way to show the correct characters?
有没有办法显示正确的字符?
This code removes or replaces the special characters in the string .... 此代码删除或替换字符串中的特殊字符。
System.Net.WebUtility.HtmlDecode(..) in C# C#中的System.Net.WebUtility.HtmlDecode(..)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.