Bug #79048 [Com]: Turkish Capital [İ] Error in mb_strtolower();

From: Date: Wed, 30 Jun 2021 18:03:10 +0000
Subject: Bug #79048 [Com]: Turkish Capital [İ] Error in mb_strtolower();
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-234706@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79048&edit=1 ID: 79048 Comment by: qdinar at gmail dot com Reported by: root at baransel dot dev Summary: Turkish Capital [İ] Error in mb_strtolower(); Status: Not a bug Type: Bug Package: mbstring related Operating System: MacOS 10.15.2 PHP Version: 7.4.1 Assigned To: cmb Block user comment: N Private report: N New Comment: unimportant edition to my words: i said "gave not proper result". i should say "gave not result i wanted". Previous Comments: ------------------------------------------------------------------------ [2021-06-30 15:26:17] qdinar at gmail dot com i googled about this. "turkish i COMBINING DOT ABOVE" (without quotes) gave not proper result in first page. when i tried "turkish i COMBINING DOT ABOVE case folding" there is https://bugs.python.org/issue34723 as 2nd result. and it gives link to https://unicode.org/Public/UNIDATA/SpecialCasing.txt . ------------------------------------------------------------------------ [2020-01-01 13:05:58] cmb@php.net See also <https://www.php.net/manual/en/migration73.new-features.php#migration73.new-features.mbstring>. ------------------------------------------------------------------------ [2019-12-31 18:44:58] requinix@php.net > Can you please explain me why it works with PHP 7.2.0 - 7.2.26 and not with 7.3.0 - 7.4.1? Because your understanding of how uppercasing and lowercasing of the Turkish i/I works has not stayed up to date with the latest Unicode rules. Ask Google for more information. ------------------------------------------------------------------------ [2019-12-31 10:08:02] root at baransel dot dev Can you please explain me why it works with PHP 7.2.0 - 7.2.26 and not with 7.3.0 - 7.4.1? They both output something different. ------------------------------------------------------------------------ [2019-12-31 09:56:16] cmb@php.net Your assumption that İ would not be lowercased is wrong[1]. It is, however, not lowercased as LATIN SMALL LETTER I, but rather as LATIN SMALL LETTER I and COMBINING DOT ABOVE which is correct. [1] <https://3v4l.org/BGP68> ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=79048 -- Edit this bug report at https://bugs.php.net/bug.php?id=79048&edit=1

« previous php.bugs (#234706) next »