Set encoding for xml response in newnotice.php to UTF-8
darcs-hash:20081123183613-7b5ce-9c6bd2b2efb679bce9f710f5f5ad9c48bf652e29.gz
This commit is contained in:
parent
fbfbe7fbc7
commit
7cb0609e72
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue
Block a user