diff options
-rw-r--r-- | bundles/org.eclipse.orion.client.ui/web/plugins/filePlugin/fileImpl.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.orion.client.ui/web/plugins/filePlugin/fileImpl.js b/bundles/org.eclipse.orion.client.ui/web/plugins/filePlugin/fileImpl.js index 3a7b177..edede6b 100644 --- a/bundles/org.eclipse.orion.client.ui/web/plugins/filePlugin/fileImpl.js +++ b/bundles/org.eclipse.orion.client.ui/web/plugins/filePlugin/fileImpl.js @@ -546,7 +546,7 @@ define(["orion/Deferred", "orion/xhr", "orion/URL-shim", "orion/operation", "ori } else if (contents.diff) { method = "POST"; headerData["X-HTTP-Method-Override"] = "PATCH"; - headerData["Content-Type"] = "application/json"; + headerData["Content-Type"] = "application/json;charset=UTF-8"; options.data = JSON.stringify(options.data); } else { // assume we are putting metadata |