diff options
-rw-r--r-- | it_html.class | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/it_html.class b/it_html.class index e628a23..c9e51a5 100644 --- a/it_html.class +++ b/it_html.class @@ -173,6 +173,8 @@ function head($args = array()) header("Content-Type: " . $p['content-type']); $js = $p['jsenv'] ? "var env = " . itjs::serialize($p['jsenv']) . ";\n" : ''; + if ($GLOBALS['it_html']->p['charset'] == "iso-8859-1") + $js = it_html::latinize($js); $js .= $this->_itjs($p['jsinline'], 'inline'); |