Force HTML content-type with charset

Force UTF-8 https://github.com/FreshRSS/FreshRSS/issues/870
This commit is contained in:
Alexandre Alapetite
2015-06-06 15:10:37 +02:00
parent 111c9f7572
commit da5033859b

View File

@@ -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);
}