aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2009-12-09 23:33:09 +0000
committerplegall <plg@piwigo.org>2009-12-09 23:33:09 +0000
commitf405878c3d0860bcec44f73eb5049f8b37718dbe (patch)
tree6d2b7e73b3833b3a69e61ce642934d1e035097df
parent6ddcd4fc87ad1dd12f7f824ae79958b0422b0f21 (diff)
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
Diffstat (limited to '')
-rw-r--r--install.php2
1 files changed, 1 insertions, 1 deletions
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, '<'))
{