From: Brion Vibber Date: Fri, 19 Mar 2004 05:39:42 +0000 (+0000) Subject: Fix stupid mistake in untested charset conversion code. X-Git-Tag: 1.3.0beta1~773 X-Git-Url: http://git.cyclocoop.org///%22%40url%40//%22?a=commitdiff_plain;h=8d0fcabe527cb4720b2d8f797980f236c124e652;p=lhc%2Fweb%2Fwiklou.git Fix stupid mistake in untested charset conversion code. --- diff --git a/includes/Feed.php b/includes/Feed.php index c7dd64cfec..e7539fce1d 100644 --- a/includes/Feed.php +++ b/includes/Feed.php @@ -44,7 +44,7 @@ class FeedItem { global $wgInputEncoding, $wgLang; $string = str_replace( "\r\n", "\n", $string ); if( strcasecmp( $wgInputEncoding, "utf-8" ) != 0 ) { - $string = $wgLang->iconv( $wgInputEncoding, "utf-8" ); + $string = $wgLang->iconv( $wgInputEncoding, "utf-8", $string ); } return htmlspecialchars( $string ); }