summaryrefslogtreecommitdiff
path: root/includes/EditPage.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/EditPage.php')
-rw-r--r--includes/EditPage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/EditPage.php b/includes/EditPage.php
index c53389cc..7688a64a 100644
--- a/includes/EditPage.php
+++ b/includes/EditPage.php
@@ -1765,7 +1765,7 @@ END
function livePreview() {
global $wgOut;
$wgOut->disable();
- header( 'Content-type: text/xml' );
+ header( 'Content-type: text/xml; charset=utf-8' );
header( 'Cache-control: no-cache' );
# FIXME
echo $this->getPreviewText( );