From: thepurpleblob <thepurpleblob>
Date: Tue, 30 Jan 2007 13:57:45 +0000 (+0000)
Subject: Output was missing utf8 meta tag.
X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f4a6bff3116d826fb0fccc605febc2eb2d65a545;p=moodle.git

Output was missing utf8 meta tag.
---

diff --git a/question/format/xhtml/format.php b/question/format/xhtml/format.php
index b88c79e030..77c91751d1 100755
--- a/question/format/xhtml/format.php
+++ b/question/format/xhtml/format.php
@@ -121,6 +121,7 @@ function presave_process( $content ) {
   $xp .= "  \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n";
   $xp .= "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n";
   $xp .= "<head>\n";
+  $xp .= "<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\" />\n";
   $xp .= "<title>Moodle Quiz XHTML Export</title>\n";
   $xp .= $css;
   $xp .= "</head>\n";