Skip to content

Commit

Permalink
Set encoding to UTF-8 in Android. Fixes #4873
Browse files Browse the repository at this point in the history
Summary: Closes #4938

Reviewed By: svcscm

Differential Revision: D2789328

Pulled By: androidtrunkagent

fb-gh-sync-id: c0a0b385be0d832cd052b2495def431cf2c51c8c
  • Loading branch information
deminoth authored and facebook-github-bot-4 committed Dec 25, 2015
1 parent 36d26c7 commit e4272b4
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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;
Expand Down

0 comments on commit e4272b4

Please sign in to comment.