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:
cketti 2010-04-18 16:57:49 +00:00
parent a7f9cf0037
commit 1d361d751e
1 changed files with 2 additions and 1 deletions

View File

@ -676,7 +676,8 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
{
String appName = getString(R.string.app_name);
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>" +
"<p>" + appName + " " +
String.format(getString(R.string.debug_version_fmt),