Index: trunk/phase3/includes/normal/UtfNormal.php |
— | — | @@ -73,13 +73,6 @@ |
74 | 74 | * @return string a clean, shiny, normalized UTF-8 string |
75 | 75 | */ |
76 | 76 | static function cleanUp( $string ) { |
77 | | - if( extension_loaded( 'iconv' ) ) { |
78 | | - wfSuppressWarnings(); |
79 | | - $ret = iconv( "UTF-8","UTF-8//IGNORE", $string ); |
80 | | - wfRestoreWarnings(); |
81 | | - return $ret; |
82 | | - } |
83 | | - |
84 | 77 | if( NORMALIZE_ICU || NORMALIZE_INTL ) { |
85 | 78 | # We exclude a few chars that ICU would not. |
86 | 79 | $string = preg_replace( |