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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mickedplay at gmail dot com
New email:
PHP Version: OS:

 

 [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-2021 The PHP Group
All rights reserved.
Last updated: Mon May 17 20:01:24 2021 UTC