From: Sarven Capadisli Date: Thu, 11 Dec 2008 21:20:46 +0000 (-0500) Subject: Setting nudge XHR response to utf-8 and indenting X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d3f0a9eeee1574c095274853311c7c2998d7a200;p=quix0rs-gnu-social.git Setting nudge XHR response to utf-8 and indenting darcs-hash:20081211212046-efd22-5face1c2bfaf0dd43dc7ffcc4eec639fdb4b5fe5.gz --- diff --git a/actions/nudge.php b/actions/nudge.php index f14cdc83c9..677f588005 100644 --- a/actions/nudge.php +++ b/actions/nudge.php @@ -56,7 +56,7 @@ class NudgeAction extends Action { $this->notify($user, $other); if ($this->boolean('ajax')) { - common_start_html('text/xml'); + common_start_html('text/xml;charset=utf-8', true); common_element_start('head'); common_element('title', null, _('Nudge sent')); common_element_end('head');