diff options
Diffstat (limited to 'it_debug.class')
-rw-r--r-- | it_debug.class | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/it_debug.class b/it_debug.class index 6050cf0..44bcdf8 100644 --- a/it_debug.class +++ b/it_debug.class @@ -143,7 +143,7 @@ function dump($args) $item = "$red$item$nored"; if (isset($_SERVER['REMOTE_ADDR']) && !$plain) # html encode content and link any urls - $item = htmlspecialchars($item, ENT_COMPAT, ini_get('default_charset')); + $item = htmlspecialchars($item, ENT_COMPAT, "ISO-8859-1"); if (preg_match('/^[\'"]/', $var)) $r .= "$item "; @@ -158,7 +158,7 @@ function dump($args) $r = str_repeat(" ", count(debug_backtrace(@constant('DEBUG_BACKTRACE_IGNORE_ARGS')))-3) . $r; # not it_html::Q(); we dont wanna load it_html in ultraclassloader debugging - $title = htmlspecialchars(it_debug::backtrace(array('skiplevels' => 1)), ENT_COMPAT, ini_get('default_charset')); + $title = htmlspecialchars(it_debug::backtrace(array('skiplevels' => 1)), ENT_COMPAT, "ISO-8859-1"); if (isset($_SERVER['REMOTE_ADDR']) && !$plain) return "<pre title='$title' style='color:#c00; text-align:left; background-color:white; margin:0 0 0.4em; padding:0 0 0.4em 0; border-bottom:1px solid #ddd'>$r</pre>\n"; |