From 7cb0609e7252d47de4e2a6eef2bf7e818e5e4035 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Sun, 23 Nov 2008 13:36:13 -0500 Subject: 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(-) (limited to 'actions/newnotice.php') diff --git a/actions/newnotice.php b/actions/newnotice.php index 4eb6616f1..06ee5778c 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'); -- cgit v1.2.3-54-g00ecf