You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like this occurs with both U+1E9E LATIN CAPITAL LETTER SHARP S and U+00DF LATIN SMALL LETTER SHARP S. Both of these should return ss when case-folded.
This PR was merged into the 1.28-dev branch.
Discussion
----------
Add case folding map
Fixessymfony/polyfill#173
`@nicolas`-grekas, I've indeed borrowed the map you pointed at in the issue. Thanks for this!
Commits
-------
3d151ba Add case folding map
Summary
It seems that this polyfill incorrectly case-folds the
ẞ
character toß
instead ofss
.Details
Running this code on PHP 7.3 with
mbstring
installed:Will produce this output:
ss
However, when I run that same input through this polyfill (master branch):
I instead get
ß
. This does not matchmbstring
's behavior on PHP 7.3.The text was updated successfully, but these errors were encountered: