]> git.mjollnir.org Git - moodle.git/commitdiff
The install script should always be Unicode.
authormoodler <moodler>
Sun, 16 Apr 2006 15:58:24 +0000 (15:58 +0000)
committermoodler <moodler>
Sun, 16 Apr 2006 15:58:24 +0000 (15:58 +0000)
install.php

index 8b60494cbf174b530e069826d1a076eb52b9b421..ff3c6817b080ad26f26a934d8fcc488939f22d91 100644 (file)
@@ -76,6 +76,10 @@ if ( empty($INSTALL['language']) and empty($_POST['language']) ) {
 
 //==========================================================================//
 
+/// Set the page to Unicode always
+
+header('Content-Type: text/html; charset=UTF-8');
+
 /// Was data submitted?
 
 if (isset($_POST['stage'])) {
@@ -509,14 +513,11 @@ if ($nextstage == SAVE) {
 //==========================================================================//
 
 ?>
-
-
-
 <html dir="<?php echo (get_string('this_direction') == 'rtl') ? 'rtl' : 'ltr' ?>">
 <head>
 <link rel="shortcut icon" href="theme/standard/favicon.ico" />
 <title>Moodle Install</title>
-<meta http-equiv="content-type" content="text/html; charset=<?php p(current_charset()) ?>" />
+<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
 <?php css_styles() ?>
 
 </head>