[android-developers] Re: # special characters in webview

2009-01-27 Thread Jean-Baptiste Queru
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

[android-developers] Re: # special characters in webview

2009-01-27 Thread Mark Murphy
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

[android-developers] Re: # special characters in webview

2009-01-27 Thread Bob
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? > > >

[android-developers] Re: # special characters in webview

2009-02-14 Thread yhfudev
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?