-
-
Notifications
You must be signed in to change notification settings - Fork 22k
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 is_valid_letter()
to TextServer
#81639
Conversation
d903546
to
6eb4d86
Compare
The code works, but the list of ranges is not complete. I used https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt, but it's only a subset. https://unicode.org/Public/UNIDATA/DerivedCoreProperties.txt seems to be the correct file for this… |
65101e8
to
e293f71
Compare
I'm auto-creating these ranges using a little program I wrote. What it currently doesn't do: further range merging, if the unicode values inbetween are unprintable/undefined, e.g. 0x1ee8a. |
is_valid_letter()
to TextServer
@adamscott: ping! you wanted to review this PR? |
@adamscott: reminder of this PR |
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.
Overall looks good to me, but I'm not a Unicode expert. @bruvzg Could you please double check?
c91e55f
to
6edee45
Compare
ab54e3d
to
0ea6ac2
Compare
Thanks! |
Fixes godotengine/godot-proposals#7656
Test project:
letter_test.tar.gz
related PR:
String.to_*_case()
methods #75846