I am trying to display phonetic characters in a WebView , but for now I am getting squares.
For example, for the word "apostrophe" this should be displayed:
əpåstrəfi
but all I get on the display is:
□□ påstr □ c
If this helps, I get the rows from the SQLite database. There are some HTML tags in the line I get, so I use this:
webView.loadDataWithBaseURL("file:///android_asset/", article, "text/html", Encoding.UTF_8.toString(), null);
where I have CSS files in /assets . And the article variable contains text enclosed in HTML tags.
android encoding unicode special-characters webview
Zarah
source share