Skip to content

Commit

Permalink
fixed charset
Browse files Browse the repository at this point in the history
  • Loading branch information
miku-nyan committed Nov 2, 2015
1 parent 8c7b027 commit 99d586c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="nya.miku.dcpbridge.android"
xmlns:tools="http://schemas.android.com/tools"
android:versionCode="1"
android:versionName="0.1" >
android:versionCode="2"
android:versionName="0.1.1" >

<uses-permission android:name="android.permission.INTERNET" />

Expand Down
2 changes: 1 addition & 1 deletion src/nya/miku/dcpbridge/android/LauncherActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 99d586c

Please sign in to comment.