[Webkit-unassigned] [Bug 179309] iOS supports some text encodings supposedly due to lack of TEC that aren't supported by the TEC decoder on macOS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 5 20:25:31 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=179309

--- Comment #3 from Maciej Stachowiak <mjs at apple.com> ---
The results above are a bit misleading. The general WenKit ICUE code path supports many of these encodings, just with a different canonical name.

Actually not supported:
macos-6-10.2
macos-6_2-10.4
macos-35-10.2
macos-29-10.2
macos-7_3-10.2
softbank-sjis

Supported, but with different canonical name:

['x-mac-greek', 'windows-10006', 'macgr', 'x-macgreek'] with canonical name 'x-mac-greek' instead of 'macos-6_2-10.4'
['x-mac-turkish', 'windows-10081', 'mactr', 'x-macturkish'] with canonical name 'x-mac-turkish' instead 'of macos-35-10.2'
['x-mac-centraleurroman', 'windows-10029', 'x-mac-ce', 'macce', 'maccentraleurope', 'x-maccentraleurope'] with canonical name 'x-mac-centraleurroman' instead of 'macos-29-10.2'
['x-mac-cyrillic', 'windows-10007', 'mac-cyrillic', 'maccy', 'x-maccyrillic', 'x-macukraine'] with canonical name 'x-mac-cyrillic' instead of 'macos-7_3-10.2

I believe the iOS-specific ICU code can all be removed with the possible exception of 'softbank-sjis'. I am not sure how to find out if that is actually required for anything. It might date back to when WebKit was used for all iOS text. The generic path does support all of "shift-jis", "csshiftjis", "ms932", "ms_kanji", "sjis", "windows-31j", "x-sjis". I don't know of softbank-sjis is different. I cannot find any references for this encoding name. I do see sjis-softbank and other such names mentioned. For now, I think the right move is to delete the other aliases besides softbank-sjis, while we determine if it is actually needed for anything.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171106/24c5a750/attachment.html>


More information about the webkit-unassigned mailing list