From: Domas Mituzas Date: Mon, 26 Dec 2005 13:05:20 +0000 (+0000) Subject: character set conversion //IGNORE live patch X-Git-Tag: 1.6.0~878 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=41c1c69fdf717925de5208da0a1bd0835bbecc3f;p=lhc%2Fweb%2Fwiklou.git character set conversion //IGNORE live patch --- diff --git a/includes/Revision.php b/includes/Revision.php index 03baf4b3c0..1a367f0b57 100644 --- a/includes/Revision.php +++ b/includes/Revision.php @@ -473,7 +473,7 @@ class Revision { # Old revisions kept around in a legacy encoding? # Upconvert on demand. global $wgInputEncoding, $wgContLang; - $text = $wgContLang->iconv( $wgLegacyEncoding, $wgInputEncoding, $text ); + $text = $wgContLang->iconv( $wgLegacyEncoding, $wgInputEncoding . '//IGNORE', $text ); } wfProfileOut( $fname ); return $text;