summaryrefslogtreecommitdiff
path: root/actions/newnotice.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2008-11-23 13:36:13 -0500
committerZach Copley <zach@controlyourself.ca>2008-11-23 13:36:13 -0500
commit7cb0609e7252d47de4e2a6eef2bf7e818e5e4035 (patch)
tree9253c499e293a7d17393cf1d162ed0799ca7043c /actions/newnotice.php
parentfbfbe7fbc76e115503525233ed5f523d0f07ac61 (diff)
Set encoding for xml response in newnotice.php to UTF-8
darcs-hash:20081123183613-7b5ce-9c6bd2b2efb679bce9f710f5f5ad9c48bf652e29.gz
Diffstat (limited to 'actions/newnotice.php')
-rw-r--r--actions/newnotice.php4
1 files changed, 2 insertions, 2 deletions
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');