dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Revert "Prevent the jumbling up of autocomments in RTL""
[lhc/web/wiklou.git]
/
languages
/
Language.php
diff --git
a/languages/Language.php
b/languages/Language.php
index
b698beb
..
370e2ed
100644
(file)
--- a/
languages/Language.php
+++ b/
languages/Language.php
@@
-2838,7
+2838,7
@@
class Language {
* @return bool
*/
function isMultibyte( $str ) {
* @return bool
*/
function isMultibyte( $str ) {
- return
(bool)preg_match( '/[\x80-\xff]/',
$str );
+ return
strlen( $str ) !== mb_strlen(
$str );
}
/**
}
/**