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.
Windows phone Webbrowser 未正确呈现内容。例如,欧元符号显示为特殊字符“ (欧元 (€) ”。有什么方法可以在 WebBrowser 中显示这样的实际内容吗?
试试这个,它对我有用:
StringHtmlContent = StringHtmlContent.Replace("€", "&euro ;"); //between &euro and ; no whitespace
或者,在您的情况下:
using WebBrowser.NavigateToString("<html><Body><table><tr><td>(euro (&euro ;)</td></td></table></body><html>")