I was trying to debug this for hours until I stumbled across this
post. Thanks, loadDataWithBaseURL works.

Is that intended functionality in loadData? It should definitely be
documented if so, very annoying.

On Nov 18, 9:27 am, joshv <[EMAIL PROTECTED]> wrote:
> UseWebView.loadDataWithBaseURL, use "dummy" for the base URL if your
> HTML is locally generated.  WebView.loadData, for some bizarre reason,
> munges the entire HTML document into a URL using the data: scheme.
> The url encoded clobbers %'s and #'s.
>
> On Nov 15, 1:29 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
> > I have the similar problem with % (&#37).
>
> > On Nov 15, 1:00 pm, sori <[EMAIL PROTECTED]> wrote:
>
> > > I have the same problem and cannot find a solution.  Any help?
> > > -sori
>
> > > On Nov 6, 7:47 am, vel <[EMAIL PROTECTED]> wrote:
>
> > > >        finalWebViewwv = (WebView) findViewById(R.id.msgs);
> > > >        wv.loadData( "<body><B>&#35;</B></body>", "text/html",
> > > > "utf-8");
>
> > > > nothing is displayed in thewebviewand once we try to load a 
> > > > #characterother characters following it are also not displayed
>
> > > > Pls any one can guide me why this weired behavior
>
> > > > Regards
> > > > Vel- Hide quoted text -
>
> > > - Show quoted text -

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to