mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-10 22:45:24 +08:00
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:
committed by
facebook-github-bot-4
parent
36d26c7d3b
commit
e4272b456e
@@ -62,7 +62,7 @@ public class ReactWebViewManager extends SimpleViewManager<WebView> {
|
||||
private static final String REACT_CLASS = "RCTWebView";
|
||||
|
||||
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_FORWARD = 2;
|
||||
|
||||
Reference in New Issue
Block a user