WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
Bug 180356
Generate text encoding names and aliases from encodings.json (plus WebKit-specific data)
https://bugs.webkit.org/show_bug.cgi?id=180356
Summary
Generate text encoding names and aliases from encodings.json (plus WebKit-spe...
Maciej Stachowiak
Reported
2017-12-04 07:40:06 PST
Generate text encoding names and aliases from encodings.json (plus WebKit-specific data). Doing it this way will remove some grungy macros that define our name tables, and will make it more obvious where we diverge from the Encoding Standard. It might be necessary to fix #19307 first to accomplish this cleanly.
Attachments
Add attachment
proposed patch, testcase, etc.
Anne van Kesteren
Comment 1
2022-09-27 06:29:43 PDT
Alex, is this still something we need after the various rounds of cleanup you did?
Anne van Kesteren
Comment 2
2022-09-27 07:37:02 PDT
Per
https://github.com/web-platform-tests/wpt/pull/36096
this might still be good. We do acknowledge the x-mac-* encodings, but I don't see EUC-TW mentioned there as being non-compliant or intentional.
Anne van Kesteren
Comment 3
2023-09-21 09:38:01 PDT
Source/WebCore/PAL/pal/text/TextCodecICU.cpp maintains a registry now. It lists some non-standard encodings such as EUC-TW, but that is something to address separately. The only slight further improvement here would be generating it from encodings.json, but it's not at all clear that is worth the effort given the rate of change.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug