RESOLVED INVALID144279
Pages encoded with "cp949" are garbled
https://bugs.webkit.org/show_bug.cgi?id=144279
Summary Pages encoded with "cp949" are garbled
Myles C. Maxfield
Reported 2015-04-27 14:52:44 PDT
Pages encoded with "cp949" are garbled
Attachments
Patch (3.00 KB, patch)
2015-04-27 14:53 PDT, Myles C. Maxfield
no flags
Myles C. Maxfield
Comment 1 2015-04-27 14:53:47 PDT
Myles C. Maxfield
Comment 2 2015-04-27 14:54:47 PDT
Alexey Proskuryakov
Comment 3 2015-04-27 15:11:32 PDT
Comment on attachment 251778 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=251778&action=review > Source/WebCore/platform/text/TextCodecICU.cpp:178 > + // CFStringConvertEncodingToIANACharSetName(kCFStringEncodingDOSKorean) returns "cp949" instead of "windows-949" > + registrar("cp949", "windows-949"); This change adds support for this alias to web content, which looks like the wrong things to do. Firefox and Chrome don't support it (haven't checked IE), and it's not part of the new standard <https://encoding.spec.whatwg.org>. The only registered alias for cp949 is in Java, and it uses a different codec. What is the user observable issue that you are fixing? We probably need to fix it at a different level. There is already one workaround for this CFString behavior in defaultTextEncodingNameForSystemLanguage() function.
Alexey Proskuryakov
Comment 4 2015-04-27 15:13:46 PDT
Found the description in Radar, I think that we shouldn't do anything here.
Note You need to log in before you can comment on or make changes to this bug.