diff --git a/ecrire/index.php b/ecrire/index.php index 7d08d66ff02f444acda75f24b9e23dd828117565..38587bca195f2a6c4dd8054f323c352f28b079b1 100644 --- a/ecrire/index.php +++ b/ecrire/index.php @@ -195,7 +195,7 @@ $r = $var_f(); // mais pas avec header(Content-Type ... charset): ca bloque MSIE if (isset($var_ajaxcharset)) { - - echo "<","?xml version='1.0' encoding='",$GLOBALS['meta']["charset"],"'?",">\n", $r; + header("Content-Type: text/html; charset=".$GLOBALS['meta']["charset"]); + echo "<","?xml version='1.0' encoding='",$GLOBALS['meta']["charset"],"'?",">\n", $r; } ?>