Bug 269783

Summary: NFKC normalization doesn't work with Latin-1 characters
Product: WebKit Reporter: nicolo.ribaudo
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description nicolo.ribaudo 2024-02-20 04:59:45 PST
`"\u{A8}".normalize("NFKC")` should return `"\u{20}\u{308}"`, but it leaves the string unaffected. It works properly with non-Latin-1 characters.

I will submit a patch.
Comment 1 nicolo.ribaudo 2024-02-20 05:25:26 PST
Pull request: https://github.com/WebKit/WebKit/pull/24808
Comment 2 EWS 2024-02-20 12:23:54 PST
Committed 275062@main (c1a059873be7): <https://commits.webkit.org/275062@main>

Reviewed commits have been landed. Closing PR #24808 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2024-02-20 12:24:14 PST
<rdar://problem/123328161>