-
Notifications
You must be signed in to change notification settings - Fork 179
Normalize Hangul #2467
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
Normalize Hangul #2467
Conversation
50f12e7
to
35ad3c5
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.
LGTM!
// int starter_pos = 0; // Assume the first character is Starter. Correct? | ||
// int target_pos = 1; |
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.
dead code?
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.
fixed in #2463
@tamaroning once the conflicts are fixed, I'll merge this PR :) |
gcc/rust/ChangeLog: * util/rust-unicode.cc (decomp_cano): Decompose Hangul. (sort_cano): Fix bounds check. (recomp): use `compose_hangul`. (compose_hangul): Compose Hangul. (rust_utf8_normalize_test): Add tests. Signed-off-by: Raiki Tamura <[email protected]>
@CohenArthur It's ready to merge :) |
Addresses #2379
depends on PR #2425
More tests will be added in another PR.
See: Sample Code for Hangul Algorithms
https://www.unicode.org/versions/Unicode15.0.0/ch03.pdf