Bug #79849 [PATCH]: Ucfirst and Russian cp1251 'я' letter

From: Date: Mon, 13 Jul 2020 17:53:28 +0000
Subject: Bug #79849 [PATCH]: Ucfirst and Russian cp1251 'я' letter
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-228015@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79849&edit=1 ID: 79849 Patch added by: imbolk@gmail.com Reported by: imbolk at gmail dot com Summary: Ucfirst and Russian cp1251 'я' letter Status: Open Type: Bug Package: Unknown/Other Function Operating System: CentOS Linux 8.0 PHP Version: 8.0.0alpha2 Block user comment: N Private report: N New Comment: The following pull request has been associated: Patch Name: Fixed bug #79849 On GitHub: https://github.com/php/php-src/pull/5853 Patch: https://github.com/php/php-src/pull/5853.patch Previous Comments: ------------------------------------------------------------------------ [2020-07-13 12:16:12] imbolk at gmail dot com Description: ------------ ucfirst doesn't uppercase Russian 'я' letter (cp1251) Test script: --------------- <?php setlocale(LC_ALL, 'ru_RU.cp1251'); var_dump( iconv('cp1251', 'utf8', ucfirst('я')), iconv('cp1251', 'utf8', ucfirst('а')), ); Expected result: ---------------- Я А Actual result: -------------- я А ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=79849&edit=1

« previous php.bugs (#228015) next »