Ver Fonte

Merge remote-tracking branch 'origin/Charset' into dev

Alexandre Alapetite há 11 anos atrás
pai
commit
c54372bd3f
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      lib/Minz/View.php

+ 1 - 0
lib/Minz/View.php

@@ -91,6 +91,7 @@ class Minz_View {
 	 * Construit le layout
 	 * Construit le layout
 	 */
 	 */
 	public function buildLayout () {
 	public function buildLayout () {
+		header('Content-Type: text/html; charset=UTF-8');
 		$this->includeFile(self::LAYOUT_PATH_NAME . self::LAYOUT_FILENAME);
 		$this->includeFile(self::LAYOUT_PATH_NAME . self::LAYOUT_FILENAME);
 	}
 	}