Merge "Revert "Prevent the jumbling up of autocomments in RTL""
[lhc/web/wiklou.git] / languages / Language.php
index b698beb..370e2ed 100644 (file)
@@ -2838,7 +2838,7 @@ class Language {
         * @return bool
         */
        function isMultibyte( $str ) {
-               return (bool)preg_match( '/[\x80-\xff]/', $str );
+               return strlen( $str ) !== mb_strlen( $str );
        }
 
        /**