From cb5a349216cc724c0a1c3562446bff62c5b1312b Mon Sep 17 00:00:00 2001 From: Jean Wasilewski Date: Thu, 5 Feb 2015 17:10:15 +0100 Subject: [PATCH] Fix for the UTF8 and the dynamic inclusion --- creds.php | 3 +++ news.php | 1 + 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/creds.php b/creds.php index d190fa1..8acb774 100644 --- a/creds.php +++ b/creds.php @@ -3,4 +3,7 @@ define("__MYSQL_USERNAME__", "crep"); define("__MYSQL_PASSWORD__", "lescrepcestcool"); define("__MYSQL_HOSTNAME__", "cambraisis.escaut.net"); define("__MYSQL_DATABASE__", "crep"); +mb_internal_encoding('UTF-8'); +mb_http_output('UTF-8'); +mb_http_input('UTF-8'); ?> diff --git a/news.php b/news.php index 3565f20..88366b2 100644 --- a/news.php +++ b/news.php @@ -1,4 +1,5 @@ News "; if(isset($_SESSION["admin"])&&$_SESSION["admin"]) -- libgit2 0.21.2