From 99d586c052cbc0c0077438b9daa7dac052c9cc53 Mon Sep 17 00:00:00 2001 From: Miku Nyan Date: Mon, 2 Nov 2015 22:57:53 +0300 Subject: [PATCH] fixed charset --- AndroidManifest.xml | 4 ++-- src/nya/miku/dcpbridge/android/LauncherActivity.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 674aec5..51e9e71 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -19,8 +19,8 @@ along with this program. If not, see . + android:versionCode="2" + android:versionName="0.1.1" > diff --git a/src/nya/miku/dcpbridge/android/LauncherActivity.java b/src/nya/miku/dcpbridge/android/LauncherActivity.java index 7a06694..e0023e0 100644 --- a/src/nya/miku/dcpbridge/android/LauncherActivity.java +++ b/src/nya/miku/dcpbridge/android/LauncherActivity.java @@ -40,7 +40,7 @@ public class LauncherActivity extends Activity { protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.launcher_activity); - ((WebView) findViewById(R.id.help_view)).loadData(getString(R.string.help_html), "text/html", "UTF-8"); + ((WebView) findViewById(R.id.help_view)).loadData(getString(R.string.help_html), "text/html; charset=UTF-8", "UTF-8"); final EditText portField = (EditText) findViewById(R.id.port_field); final CheckBox httpsChkbox = (CheckBox) findViewById(R.id.https_chkbox); final CheckBox replaceAcceptChkbox = (CheckBox) findViewById(R.id.replace_chkbox);