sileced iconv for now
authorGabriel Wicke <gwicke@users.mediawiki.org>
Thu, 22 Apr 2004 23:06:23 +0000 (23:06 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Thu, 22 Apr 2004 23:06:23 +0000 (23:06 +0000)
languages/Language.php

index 7e26d5b..622117d 100644 (file)
@@ -1812,7 +1812,7 @@ class Language {
                 '[\xe0-\xef][\x80-\xbf]{2}|[\xf0-\xf7][\x80-\xbf]{3})+$/', $s ) : true );
 
                if( ($wgInputEncoding != "utf-8") and $ishigh and $isutf )
-                       return iconv( "UTF-8", $wgInputEncoding, $s );
+                       return @iconv( "UTF-8", $wgInputEncoding, $s );
                
                if( ($wgInputEncoding == "utf-8") and $ishigh and !$isutf )
                        return utf8_encode( $s );