Skip to content
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

Fix unicode alternate ranges generation #7924

Merged
merged 3 commits into from
Jun 25, 2019

Conversation

asterite
Copy link
Member

Fixes #7922

asterite added 3 commits June 25, 2019 10:06
The last codepoint in a range is the one for an uppercase letter and
the next  codepoint is the one for the lowercase one, and it should be
considered part of the alternating range.
@asterite asterite added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:stdlib:text labels Jun 25, 2019
@asterite asterite added this to the 0.30.0 milestone Jun 25, 2019
@asterite asterite merged commit 03e6eba into crystal-lang:master Jun 25, 2019
@asterite asterite deleted the bug/unicode-alternate-ranges branch June 25, 2019 14:34
dnamsons pushed a commit to dnamsons/crystal that referenced this pull request Jan 10, 2020
* Fix unicode alternate ranges generation

The last codepoint in a range is the one for an uppercase letter and
the next  codepoint is the one for the lowercase one, and it should be
considered part of the alternating range.

* Regenerate unicode data

* Add test for crystal-lang#7922
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:stdlib:text
Projects
None yet
Development

Successfully merging this pull request may close these issues.

String#upcase method doesn't work for some letters
2 participants