--- includes/bootstrap.inc      2011-06-14 14:39:45.000000000 +0200
+++ includes/bootstrap.inc.new  2011-06-14 14:40:14.000000000 +0200
@@ -853,9 +853,9 @@ function check_plain($text) {
   // @todo remove this when support for either IE6 or PHP < 5.2.5 is dropped.

   if ($php525) {
-    return htmlspecialchars($text, ENT_QUOTES, 'UTF-8');
+    return htmlspecialchars($text, ENT_QUOTES);
   }
-  return (preg_match('/^./us', $text) == 1) ? htmlspecialchars($text, ENT_QUOTES, 'UTF-8') : '';
+  return (preg_match('/^./us', $text) == 1) ? htmlspecialchars($text, ENT_QUOTES) : '';
 }

 /**
