Set encoding to UTF-8 in Android. Fixes #4873

Summary: Closes https://github.com/facebook/react-native/pull/4938

Reviewed By: svcscm

Differential Revision: D2789328

Pulled By: androidtrunkagent

fb-gh-sync-id: c0a0b385be0d832cd052b2495def431cf2c51c8c
This commit is contained in:
SangYeob Bono Yu 2015-12-24 17:18:15 -08:00 committed by facebook-github-bot-4
parent 36d26c7d3b
commit e4272b456e
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ public class ReactWebViewManager extends SimpleViewManager<WebView> {
private static final String REACT_CLASS = "RCTWebView"; private static final String REACT_CLASS = "RCTWebView";
private static final String HTML_ENCODING = "UTF-8"; private static final String HTML_ENCODING = "UTF-8";
private static final String HTML_MIME_TYPE = "text/html"; private static final String HTML_MIME_TYPE = "text/html; charset=utf-8";
public static final int COMMAND_GO_BACK = 1; public static final int COMMAND_GO_BACK = 1;
public static final int COMMAND_GO_FORWARD = 2; public static final int COMMAND_GO_FORWARD = 2;