php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #77277 Invalid character translation
Submitted: 2018-12-10 12:41 UTC Modified: 2018-12-10 12:50 UTC
From: mickedplay at gmail dot com Assigned:
Status: Duplicate Package: *Spelling functions
PHP Version: 7.3.0 OS: every
Private report: No CVE-ID: None
 [2018-12-10 12:41 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-12-10 12:49 UTC] a at b dot c dot de
See Bug #76696
 [2018-12-10 12:50 UTC] nikic@php.net
-Status: Open +Status: Duplicate
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 00:01:28 2024 UTC