Bug #76960 [Opn->Dup]: mb_strtoupper case mapping for ß is not correct

From: Date: Tue, 02 Oct 2018 14:15:51 +0000
Subject: Bug #76960 [Opn->Dup]: mb_strtoupper case mapping for ß is not correct
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-217356@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76960&edit=1 ID: 76960 Updated by: cmb@php.net Reported by: fundaris at gmail dot com Summary: mb_strtoupper case mapping for ß is not correct -Status: Open +Status: Duplicate Type: Bug Package: mbstring related PHP Version: 7.3.0RC2 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Duplicate of bug #76696. Previous Comments: ------------------------------------------------------------------------ [2018-10-02 14:12:30] fundaris at gmail dot com Description: ------------ I don't know if this is related/the real bug. https://bugs.php.net/bug.php?id=70072 After reading this https://github.com/php/php-src/blob/php-7.3.0RC2/UPGRADING I noticed that example mb_strtoupper("Straße") // Produces STRAßE on PHP 7.2 // Produces STRASSE on PHP 7.3 But why are we doing this? There is an https://www.fileformat.info/info/unicode/char/1e9e/index.htm in UTF-8 spec and there for no need for a casing mapping! Expected result: ---------------- mb_strtoupper("Straße") should give a STRAßE with an LATIN CAPITAL LETTER SHARP S Actual result: -------------- STRAßE with an LATIN SMALL LETTER SHARP S ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=76960&edit=1

« previous php.bugs (#217356) next »