mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-04 16:45:09 -05:00
Added meta-Tag with charset=utf-8 to about box html source to fix UTF-8 issues. Thanks to gerberstef for the patch.
Fixes issue 1434
This commit is contained in:
parent
a7f9cf0037
commit
1d361d751e
@ -676,7 +676,8 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
|
|||||||
{
|
{
|
||||||
String appName = getString(R.string.app_name);
|
String appName = getString(R.string.app_name);
|
||||||
WebView wv = new WebView(this);
|
WebView wv = new WebView(this);
|
||||||
String html = "<h1>" + String.format(getString(R.string.about_title_fmt),
|
String html = "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />" +
|
||||||
|
"<h1>" + String.format(getString(R.string.about_title_fmt),
|
||||||
"<a href=\"" + getString(R.string.app_webpage_url) + "\">" + appName + "</a>") + "</h1>" +
|
"<a href=\"" + getString(R.string.app_webpage_url) + "\">" + appName + "</a>") + "</h1>" +
|
||||||
"<p>" + appName + " " +
|
"<p>" + appName + " " +
|
||||||
String.format(getString(R.string.debug_version_fmt),
|
String.format(getString(R.string.debug_version_fmt),
|
||||||
|
Loading…
Reference in New Issue
Block a user