summaryrefslogtreecommitdiffstats
path: root/apps/contacts/ajax/uploadphoto.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/contacts/ajax/uploadphoto.php')
-rw-r--r--apps/contacts/ajax/uploadphoto.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/ajax/uploadphoto.php b/apps/contacts/ajax/uploadphoto.php
index 7ec82603b4a..34830b291d2 100644
--- a/apps/contacts/ajax/uploadphoto.php
+++ b/apps/contacts/ajax/uploadphoto.php
@@ -26,7 +26,7 @@ OCP\JSON::checkAppEnabled('contacts');
OCP\JSON::callCheck();
// Firefox and Konqueror tries to download application/json for me. --Arthur
-OCP\JSON::setContentTypeHeader('text/plain');
+OCP\JSON::setContentTypeHeader('text/plain; charset=utf-8');
require_once 'loghandler.php';
$l10n = OC_Contacts_App::$l10n;
// If it is a Drag'n'Drop transfer it's handled here.