From 7cb0609e7252d47de4e2a6eef2bf7e818e5e4035 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Sun, 23 Nov 2008 13:36:13 -0500 Subject: [PATCH] Set encoding for xml response in newnotice.php to UTF-8 darcs-hash:20081123183613-7b5ce-9c6bd2b2efb679bce9f710f5f5ad9c48bf652e29.gz --- actions/newnotice.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actions/newnotice.php b/actions/newnotice.php index 4eb6616f18..06ee5778c8 100644 --- a/actions/newnotice.php +++ b/actions/newnotice.php @@ -84,7 +84,7 @@ class NewnoticeAction extends Action { common_broadcast_notice($notice); if ($this->boolean('ajax')) { - common_start_html('text/xml'); + common_start_html('text/xml;charset=utf-8'); common_element_start('head'); common_element('title', null, _('Notice posted')); common_element_end('head'); @@ -107,7 +107,7 @@ class NewnoticeAction extends Action { } function ajax_error_msg($msg) { - common_start_html('text/xml'); + common_start_html('text/xml;charset=utf-8'); common_element_start('head'); common_element('title', null, _('Ajax Error')); common_element_end('head'); -- 2.39.5