Req #77277 [Opn->Dup]: Invalid character translation

From: Date: Mon, 10 Dec 2018 12:50:38 +0000
Subject: Req #77277 [Opn->Dup]: Invalid character translation
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-218366@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77277&edit=1 ID: 77277 Updated by: nikic@php.net Reported by: mickedplay at gmail dot com Summary: Invalid character translation -Status: Open +Status: Duplicate Type: Feature/Change Request Package: *Spelling functions Operating System: every PHP Version: 7.3.0 Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2018-12-10 12:49:33] a at b dot c dot de See Bug #76696 ------------------------------------------------------------------------ [2018-12-10 12:41:26] mickedplay at gmail dot com Description: ------------ I saw your example code in http://php.net/manual/en/migration73.new-features.php#migration73.new-features.mbstring, but unfortunately the result in PHP 7.3 is not really true. At 06/29/2017, germany adopted capital ß (ẞ) into their orthography, so uppercase s should result in ẞ instead of SS. It's also noted in wikipedia: - https://en.wikipedia.org/wiki/%C3%9F "In 2017, the Council for German Orthography ultimately adopted capital ß (ẞ) into German orthography, ending a long orthographic debate." Test script: --------------- <?php mb_strtoupper("Straße"); ?> Expected result: ---------------- STRAẞE Actual result: -------------- STRASSE ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=77277&edit=1

« previous php.bugs (#218366) next »