Skip to content
Snippets Groups Projects
Commit e3de746b authored by Thomas Tanghus's avatar Thomas Tanghus
Browse files

FF complained about missing charset.

parent 578e074c
Branches
No related tags found
No related merge requests found
...@@ -25,7 +25,7 @@ OCP\JSON::checkAppEnabled('contacts'); ...@@ -25,7 +25,7 @@ OCP\JSON::checkAppEnabled('contacts');
OCP\JSON::callCheck(); OCP\JSON::callCheck();
// Firefox and Konqueror tries to download application/json for me. --Arthur // 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'; require_once 'loghandler.php';
......
...@@ -26,7 +26,7 @@ OCP\JSON::checkAppEnabled('contacts'); ...@@ -26,7 +26,7 @@ OCP\JSON::checkAppEnabled('contacts');
OCP\JSON::callCheck(); OCP\JSON::callCheck();
// Firefox and Konqueror tries to download application/json for me. --Arthur // 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'; require_once 'loghandler.php';
$l10n = OC_Contacts_App::$l10n; $l10n = OC_Contacts_App::$l10n;
// If it is a Drag'n'Drop transfer it's handled here. // If it is a Drag'n'Drop transfer it's handled here.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment