From 90845f429e7db0bd69f9188519d86dc744995b35 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sat, 14 May 2011 17:02:37 +0000 Subject: [PATCH] Follow-up r87589: let's simplify this a bit :P --- includes/OutputPage.php | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index daed70ad55..d6c978fb0b 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -1912,22 +1912,12 @@ class OutputPage { } /** - * Actually output something with print(). Performs an iconv to the - * output encoding, if needed. + * Actually output something with print(). * * @param $ins String: the string to output */ public function out( $ins ) { - global $wgContLang; - if ( 0 == strcmp( 'UTF-8', 'UTF-8' ) ) { - $outs = $ins; - } else { - $outs = $wgContLang->iconv( 'UTF-8', 'UTF-8', $ins ); - if ( false === $outs ) { - $outs = $ins; - } - } - print $outs; + print $ins; } /** -- 2.20.1