Переглянути джерело

Merge pull request #873 from Alkarex/Charset

Force HTML content-type with charset
Alexandre Alapetite 11 роки тому
батько
коміт
ca59b2be23
1 змінених файлів з 1 додано та 0 видалено
  1. 1 0
      lib/Minz/View.php

+ 1 - 0
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);
 	}