Load data with base64 encoding with loadDataWithBaseURL
I have an app which use WebView to show some local html to users. The app worked fine in last 2 years, but recently I'm getting too many reports that the app is showing some kind of error like this: "Web page not available The web page at data:text/html; charset=utf-8;charset=utf-8;base64, could not be loaded because: net::ERR_INVALID_RESPONSE" obviously something changed in android or WebView, and it did, the doc is saying: Stricter UTF-8 decoder In Android 9, the UTF-8 decoder for Java language is stricter and follows the Unicode standard. so, I tried to load my data with base64 encoding to
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.