Bug 269783 - NFKC normalization doesn't work with Latin-1 characters
Summary: NFKC normalization doesn't work with Latin-1 characters
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-02-20 04:59 PST by nicolo.ribaudo
Modified: 2024-02-20 12:24 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>