// No way to get pure UTF-8 data into WebView\r
html = Base64.encodeToString(html.getBytes("UTF-8"), Base64.DEFAULT);\r
} catch (UnsupportedEncodingException e) {\r
- throw new RuntimeException(e);\r
+ throw new RuntimeException("Missing UTF-8 support?!", e);\r
}\r
// Use loadURL to allow specifying a charset\r
webView.loadUrl("data:text/html;charset=utf-8;base64," + html);\r