]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Normalize Hangul to NFC
authorRaiki Tamura <tamaron1203@gmail.com>
Mon, 24 Jul 2023 08:29:20 +0000 (17:29 +0900)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 18:00:26 +0000 (19:00 +0100)
commit26c4133a625af47e2ccf90d13024138eede8c96c
treebf2a1bf1423a56a10035a14d72c1796ff954e23e
parent6db677bac0e24228431d1f20f21dc2bc5b6d00a9
gccrs: Normalize Hangul to NFC

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 <tamaron1203@gmail.com>
gcc/rust/util/rust-unicode.cc