From 5f6b52a7e5b6de9bbf9af35346b8f537ca2ed395 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 30 Oct 2011 18:55:00 +0100 Subject: [PATCH] Force charset --- htdocs/core/js/datepicker.js.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/core/js/datepicker.js.php b/htdocs/core/js/datepicker.js.php index ca5c0fba8f8..044fddcd0ba 100644 --- a/htdocs/core/js/datepicker.js.php +++ b/htdocs/core/js/datepicker.js.php @@ -38,6 +38,7 @@ require_once("../../main.inc.php"); // Define javascript type header('Content-type: text/javascript'); +header("Content-type: text/html; charset=UTF-8"); // Important: Following code is to avoid page request by browser and PHP CPU at each Dolibarr page access. if (empty($dolibarr_nocache)) header('Cache-Control: max-age=3600, public, must-revalidate'); else header('Cache-Control: no-cache');