Bug 254887 - Remove NFCNormalize from TextEncoding::encode
Summary: Remove NFCNormalize from TextEncoding::encode
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on: 254909
Blocks:
  Show dependency treegraph
 
Reported: 2023-04-02 07:16 PDT by Anne van Kesteren
Modified: 2023-04-09 07:17 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anne van Kesteren 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.
Comment 1 Anne van Kesteren 2023-04-03 02:41:58 PDT
This will be easier to investigate with bug 254909 out of the way.
Comment 2 Alexey Proskuryakov 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.
Comment 3 Radar WebKit Bug Importer 2023-04-09 07:17:18 PDT
<rdar://problem/107805832>