diff -Naru -x '*~' /home/httpd/html/moodle.orig/mod/quiz/format/examview/format.php /home/httpd/html/moodle/mod/quiz/format/examview/format.php
--- /home/httpd/html/moodle.orig/mod/quiz/format/examview/format.php	2005-06-06 14:19:32.000000000 +0900
+++ /home/httpd/html/moodle/mod/quiz/format/examview/format.php	2005-09-25 00:13:55.000000000 +0900
@@ -188,7 +188,7 @@
     function htmlPrepare($htmltext)
     {
         $text = trim($text);
-        $text = htmlentities($htmltext, ENT_QUOTES);
+        $text = htmlentities($htmltext, ENT_QUOTES, $SESSION->encoding);
         //$htmltext = nl2br($text);
         return $text;
     }
