Req #77277 [NEW]: Invalid character translation
| From: | mickedplay at gmail dot com | Date: | Mon, 10 Dec 2018 12:41:26 +0000 |
| Subject: | Req #77277 [NEW]: Invalid character translation | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-218364@lists.php.net to get a copy of this message | ||
From: mickedplay at gmail dot com
Operating system: every
PHP version: 7.3.0
Package: *Spelling functions
Bug Type: Feature/Change Request
Bug description:Invalid character translation
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 bug report at https://bugs.php.net/bug.php?id=77277&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=77277&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=77277&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=77277&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=77277&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=77277&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=77277&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=77277&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=77277&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=77277&r=support
Expected behavior: https://bugs.php.net/fix.php?id=77277&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=77277&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=77277&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=77277&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=77277&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=77277&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=77277&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=77277&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=77277&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=77277&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=77277&r=mysqlcfg