NEW 254887
Remove NFCNormalize from TextEncoding::encode
https://bugs.webkit.org/show_bug.cgi?id=254887
Summary Remove NFCNormalize from TextEncoding::encode
Anne van Kesteren
Reported 2023-04-02 07:16:24 PDT
Almost nothing in the web platform does this. If we need to do it somewhere it would be better if the caller handled it on its own. The default of NFCNormalize::Yes seems a little worrisome.
Attachments
Anne van Kesteren
Comment 1 2023-04-03 02:41:58 PDT
This will be easier to investigate with bug 254909 out of the way.
Alexey Proskuryakov
Comment 2 2023-04-03 17:51:58 PDT
This is a longstanding difference, where we want to produce text in the same from as it normally happens on Windows, even if the source is decomposed. Basically, we want the same user actions to produce the same content on macOS and on Windows, even if this means that underlying web platform APIs behave differently. That's not great, and at some point, we need to perform normalization as text enters WebKit, not when it's sent to servers.
Radar WebKit Bug Importer
Comment 3 2023-04-09 07:17:18 PDT
Note You need to log in before you can comment on or make changes to this bug.