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
This commit is contained in:
plegall
2009-12-09 23:33:09 +00:00
parent 6ddcd4fc87
commit f405878c3d
+1 -1
View File
@@ -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, '<'))
{