[php-src] Issue #9245: `ucfirst` must be locale independent the same as `strtoupper`

From: Date: Thu, 04 Aug 2022 07:54:49 +0000
Subject: [php-src] Issue #9245: `ucfirst` must be locale independent the same as `strtoupper`
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-242125@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/9245 Author: mvorisek ### Description strtoupper is locale independent. ucfirst must be locale independent too. Maybe it is, but the docs [1] claims it is not. [1] https://www.php.net/manual/en/function.ucfirst.php > Note that 'alphabetic' is determined by the current locale. For instance, in the > default "C" locale characters such as umlaut-a (ä) will not be converted. ### PHP Version latest ### Operating System any

« previous php.bugs (#242125) next »