From f405878c3d0860bcec44f73eb5049f8b37718dbe Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 9 Dec 2009 23:33:09 +0000 Subject: bug 1317 fixed: force the HTTP response charset (ie encoding) to UTF-8. git-svn-id: http://piwigo.org/svn/branches/2.0@4462 68402e56-0260-453c-a942-63ccdbb3a9ee --- install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install.php') diff --git a/install.php b/install.php index 8a196fffc..5f4761cef 100644 --- a/install.php +++ b/install.php @@ -225,7 +225,7 @@ define('PHPWG_URL', 'http://'.PHPWG_DOMAIN); load_language( 'common.lang', '', array('language'=>$language, 'target_charset'=>'utf-8') ); load_language( 'admin.lang', '', array('language'=>$language, 'target_charset'=>'utf-8') ); load_language( 'install.lang', '', array('language'=>$language, 'target_charset'=>'utf-8') ); - +header('Content-Type: text/html; charset=UTF-8'); //------------------------------------------------- check php version if (version_compare(PHP_VERSION, REQUIRED_PHP_VERSION, '<')) { -- cgit v1.2.3