我的HTML字符串是这样的:的WebView:网页不可用,但是我从一个HTML字符串加载
<meta http-equiv=\"Content-Type\" content=\"text/html\"; charset=\"UTF-8\" />
<p style="text-align: justify;"> paragraph </p>
<p style="text-align: justify;"> another one with <strong> strong attr </p>
<p style="text-align: justify;"> in general p have <strong> strong</strong> and <em> em parts</em></p>
和我一起加载:
view.loadData(htmlString, "text/html", "UTF-8");
我有不同的HTML字符串,一些他们没问题,但其他人给我这个错误...问题在哪里?
感谢您的解决方案!有用。 – techiee