Bug #77375 [NEW]: mb_strtolower carries accents to next character

From: Date: Sun, 30 Dec 2018 16:21:43 +0000
Subject: Bug #77375 [NEW]: mb_strtolower carries accents to next character
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-218686@lists.php.net to get a copy of this message
From: sjon at hortensius dot net Operating system: archlinux PHP version: 7.3.0 Package: mbstring related Bug Type: Bug Bug description:mb_strtolower carries accents to next character Description: ------------ I found this while going through https://3v4l.org/bughunt/7.3.0/7.2.13+7.2.12 it seems special characters are carried over to the next character when using mb_strtolower Test script: --------------- See https://3v4l.org/7pP2v and the scripts that it's based on echo mb_strtolower("MOZAİK"); Expected result: ---------------- mozaik Actual result: -------------- mozai̇k -- Edit bug report at https://bugs.php.net/bug.php?id=77375&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=77375&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=77375&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=77375&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=77375&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=77375&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=77375&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=77375&r=needscript Try newer version: https://bugs.php.net/fix.php?id=77375&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=77375&r=support Expected behavior: https://bugs.php.net/fix.php?id=77375&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=77375&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=77375&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=77375&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=77375&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=77375&r=dst IIS Stability: https://bugs.php.net/fix.php?id=77375&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=77375&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=77375&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=77375&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=77375&r=mysqlcfg

« previous php.bugs (#218686) next »