Index: trunk/phase3/languages/Language.php |
— | — | @@ -1863,8 +1863,7 @@ |
1864 | 1864 | return $s; |
1865 | 1865 | } |
1866 | 1866 | |
1867 | | - $isutf8 = preg_match( '/^([\x00-\x7f]|[\xc0-\xdf][\x80-\xbf]|' . |
1868 | | - '[\xe0-\xef][\x80-\xbf]{2}|[\xf0-\xf7][\x80-\xbf]{3})+$/', $s ); |
| 1867 | + $isutf8 = ( $s == iconv("UTF-8","UTF-8//IGNORE", $s)); |
1869 | 1868 | if ( $isutf8 ) { |
1870 | 1869 | return $s; |
1871 | 1870 | } |
Property changes on: trunk/phase3/languages/Language.php |
___________________________________________________________________ |
Added: svn:mergeinfo |
1872 | 1871 | Merged /branches/sqlite/languages/Language.php:r58211-58321 |
1873 | 1872 | Merged /branches/new-installer/phase3/languages/Language.php:r43664-66004 |
1874 | 1873 | Merged /branches/wmf/1.17wmf1/languages/Language.php:r84259 |
1875 | 1874 | Merged /branches/REL1_15/phase3/languages/Language.php:r51646 |