-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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 Unicode support to String.to_*_case()
methods
#75846
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dalexeev
commented
Apr 9, 2023
dalexeev
force-pushed
the
string-cases-unicode
branch
3 times, most recently
from
April 9, 2023 17:40
31d662a
to
b073d76
Compare
dalexeev
force-pushed
the
string-cases-unicode
branch
from
April 10, 2023 07:39
b073d76
to
4aa1846
Compare
RevoluPowered
previously requested changes
Sep 4, 2023
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.
On the surface it looks like a good change, having non english charset tests is something that improves things.
I think you should probably fix up the formatting though so that the define has clear edges and not \ characters misaligned.
bruvzg
approved these changes
Sep 4, 2023
dalexeev
force-pushed
the
string-cases-unicode
branch
2 times, most recently
from
February 22, 2024 10:45
ebe6dc9
to
2ad7dfa
Compare
akien-mga
reviewed
Feb 22, 2024
dalexeev
force-pushed
the
string-cases-unicode
branch
from
February 22, 2024 11:03
2ad7dfa
to
c0aa88a
Compare
akien-mga
approved these changes
Feb 22, 2024
Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I think this is necessary because GDScript supports Unicode identifiers (#71676) and we have the
editor/naming/default_signal_callback_name
setting that should also support Unicode (#75814).is_unicode_upper_case()
andis_unicode_lower_case()
functions.is_unicode_identifier_start()
andis_unicode_identifier_continue()
functions by using binary search.