From 8d0fcabe527cb4720b2d8f797980f236c124e652 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 19 Mar 2004 05:39:42 +0000 Subject: [PATCH] Fix stupid mistake in untested charset conversion code. --- includes/Feed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } -- 2.20.1