]> git.mjollnir.org Git - moodle.git/commitdiff
fixed encoding header() in messaging frames MDL-6128 - 1.6, special chars and messagi...
authorskodak <skodak>
Sun, 8 Oct 2006 08:29:35 +0000 (08:29 +0000)
committerskodak <skodak>
Sun, 8 Oct 2006 08:29:35 +0000 (08:29 +0000)
message/discussion.php
message/messages.php
message/send.php

index fedbf92f6dfd0cb568f41cb17716722f1c82bcad..e4797fd56ebac6596c41b0054f86c9300d3c78af 100644 (file)
@@ -25,6 +25,7 @@
     $encoding = current_charset();
 
 /// Print frameset to contain all the various panes
+    @header('Content-Type: text/html; charset='.$encoding);
 ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
     <html>
index 6fdfe049a49ea5f1a72082d7271ea62a428bce9b..30da111088491c67b531b518d150038e718aaf73 100644 (file)
@@ -12,6 +12,7 @@
         $direction = ' dir="ltr"';
     }
 /// Output the header
+    @header('Content-Type: text/html; charset='.$encoding);
 ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
 <html <?php echo $direction ?>>
index eed40347f09153fdec99558b854f90dbae753ab8..a823473a857b496761f568c0ebfc4a28ed6e5d7c 100644 (file)
@@ -29,6 +29,7 @@
         $direction = ' dir="ltr"';
     }
 
+    @header('Content-Type: text/html; charset='.$encoding);
     echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Frameset//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd\">\n";
     echo "<html $direction>\n<head>\n";
     echo '<meta http-equiv="content-type" content="text/html; charset='.$encoding.'" />';