-
-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add case folding map #427
Add case folding map #427
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The merged map is available in https://github.com/symfony/string/blob/6.2/AbstractUnicodeString.php (and it looks like there are some duplicates in there? to be fixed also)
Please have a look at failing tests, they might be related. |
fa76f9b
to
c132a51
Compare
Updated the map 👍 Removed duplicates also in Symfony: symfony/symfony#49159, thanks for pointing this out! I'm checking the tests. they seem a bit tricky as some characters are being case folded by two chars, which introduces an offset when it comes to |
9fe0792
to
176bf2e
Compare
This PR was merged into the 5.4 branch. Discussion ---------- [String] Remove duplicates in fold maps | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | Related to symfony/polyfill#427 | License | MIT | Doc PR | _NA_ Commits ------- 858c6e9 [String] Remove duplicates in fold maps
d1ff0bc
to
0cf134b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test failures were related, I fixed them then force-pushed, please fetch before the next iteration :)
2a628cc
to
a6cb6ad
Compare
a6cb6ad
to
e87fe20
Compare
e87fe20
to
3d151ba
Compare
Thank you @alexandre-daubois. |
Fixes #173
@nicolas-grekas, I've indeed borrowed the map you pointed at in the issue. Thanks for this!