From 6edcc08d7f292126dac859a66f23ce811a6ef555 Mon Sep 17 00:00:00 2001 From: Fil <fil@rezo.net> Date: Wed, 6 Sep 2006 21:01:18 +0000 Subject: [PATCH] report de [7337], headers ajax pour Firefox ; devrait resoudre #558 --- ecrire/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ecrire/index.php b/ecrire/index.php index 7d08d66ff0..38587bca19 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; } ?> -- GitLab