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 loadDataWithBaseURL() instead of loadData(), supplying a bogus base URL (e.g., fake://i/will/smack/the/engineer/behind/this/scheme). That cures a lot of loadData() ills. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~---------~--~----~------------~-------~--~----~ 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 android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---