Enfore ISO-8859-1 encoding for htmlentities().
[diogenes.git] / include / Barrel / Page.php
index 15d4d89..75ffe9c 100644 (file)
@@ -171,7 +171,7 @@ class Diogenes_Barrel_Page
     $props = $this->props;
     
     $topbar = array ();
-    $from = htmlentities($caller->script_uri());
+    $from = htmlentities($caller->script_uri(), ENT_COMPAT | ENT_HTML401, "ISO-8859-1");
     
     if ($props['PID']) {    
       $hp = $this->barrel->getPID('');