LoadData loads your data as a data: Uri. You need to Uri-escape your data.
JBQ
On Tue, Jan 27, 2009 at 5:45 AM, Bob wrote:
>
> Hi,
> I am populating a webview with the loaddata option but special
> characters such as "'" for quotation mark aren't showing up and
> end the display. What am I doi
Bob wrote:
> Hi,
> I am populating a webview with the loaddata option but special
> characters such as "'" for quotation mark aren't showing up and
> end the display. What am I doing wrong?
>
> Thanks,
> Bob
>
> WebView wv;
> wv.loadData(toload, "text/html", "utf-8");
Try using loadDataWithBas
Great. that seems to largely resolve it. Thanks!
On Jan 27, 8:02 am, Mark Murphy wrote:
> Bob wrote:
> > Hi,
> > I am populating a webview with the loaddata option but special
> > characters such as "'" for quotation mark aren't showing up and
> > end the display. What am I doing wrong?
>
> >
You may use:
loadDataWithBaseURL (null, content, "text/html", "utf-8",
"about:blank");
On Jan 27, 7:45 am, Bob wrote:
> Hi,
> I am populating awebviewwith the loaddata option but special
> characters such as "'" for quotation mark aren't showing up and
> end the display. What am I doing wrong?
4 matches
Mail list logo