summaryrefslogtreecommitdiff
path: root/lib/Minz
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2015-06-06 15:10:37 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2015-06-06 15:10:37 +0200
commitda5033859ba990ef1f5f3dfbc1f5d7a2f4d4d6f8 (patch)
treea1aa8f995a02b6fadae9b0c37393deb91137dc35 /lib/Minz
parent111c9f757274f547c9789ad127fde886bedc1925 (diff)
Force HTML content-type with charset
Force UTF-8 https://github.com/FreshRSS/FreshRSS/issues/870
Diffstat (limited to 'lib/Minz')
-rw-r--r--lib/Minz/View.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Minz/View.php b/lib/Minz/View.php
index ff5cce4a5..8c5230ab6 100644
--- a/lib/Minz/View.php
+++ b/lib/Minz/View.php
@@ -91,6 +91,7 @@ class Minz_View {
* Construit le layout
*/
public function buildLayout () {
+ header('Content-Type: text/html; charset=UTF-8');
$this->includeFile(self::LAYOUT_PATH_NAME . self::LAYOUT_FILENAME);
}