r86164 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86163‎ | r86164 | r86165 >
Date:00:25, 16 April 2011
Author:reedy
Status:ok
Tags:
Comment:
Revert r85537 per fixme on r85536
Modified paths:
  • /branches/REL1_17/phase3/languages/Language.php (modified) (history)

Diff [purge]

Index: branches/REL1_17/phase3/languages/Language.php
@@ -1790,7 +1790,8 @@
17911791 return $s;
17921792 }
17931793
1794 - $isutf8 = ( $s == iconv("UTF-8","UTF-8//IGNORE", $s));
 1794+ $isutf8 = preg_match( '/^([\x00-\x7f]|[\xc0-\xdf][\x80-\xbf]|' .
 1795+ '[\xe0-\xef][\x80-\xbf]{2}|[\xf0-\xf7][\x80-\xbf]{3})+$/', $s );
17951796 if ( $isutf8 ) {
17961797 return $s;
17971798 }
Property changes on: branches/REL1_17/phase3/languages/Language.php
___________________________________________________________________
Modified: svn:mergeinfo
17981799 Reverse-merged /branches/wmf/1.17wmf1/languages/Language.php:r84259

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r85536Merge from 1.17wmf1: r84259demon13:50, 6 April 2011
r85537Merge from 1.17wmf1: r84259demon13:53, 6 April 2011

Status & tagging log