From 34d456e1f8748bc6435cc79f2a8a772f178be9c7 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Fri, 6 May 2011 22:09:47 +0000 Subject: [PATCH] Kill off the long deprecated $wgInputEncoding and $wgOutputEncoding globals --- Math.body.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Math.body.php b/Math.body.php index 7791f14..a589ba8 100644 --- a/Math.body.php +++ b/Math.body.php @@ -37,7 +37,7 @@ class MathRenderer { } function render() { - global $wgTmpDirectory, $wgInputEncoding; + global $wgTmpDirectory; global $wgTexvc, $wgMathCheckFiles, $wgTexvcBackgroundColor; if( $this->mode == MW_MATH_SOURCE ) { @@ -68,7 +68,7 @@ class MathRenderer { escapeshellarg( $wgTmpDirectory ).' '. escapeshellarg( $wgTmpDirectory ).' '. escapeshellarg( $this->tex ).' '. - escapeshellarg( $wgInputEncoding ).' '. + escapeshellarg( 'UTF-8' ).' '. escapeshellarg( $wgTexvcBackgroundColor ); if ( wfIsWindows() ) {