diff --git a/inc/page.php b/inc/page.php index 6cd5de6..54e5cb4 100644 --- a/inc/page.php +++ b/inc/page.php @@ -2,7 +2,8 @@ class Page { public function __construct($name, $header = true) { - ini_set('mbstring.internal_encoding', 'UTF-8'); + header('Content-Type: text/html; charset=UTF-8'); +// ini_set('mbstring.internal_encoding', 'UTF-8'); ini_set('default_charset', 'utf-8'); require_once './inc/settings.php'; $settings = new Settings(); @@ -10,7 +11,6 @@ class Page { require_once './lang/' . $settings->lang . '.php'; $lang = new Lang(); $this->lang = $lang; - header('Content-Type: text/html; charset=UTF-8'); $this->time = microtime(true); if ($header) {