[Webkit-unassigned] [Bug 231660] New: Use GBK as fallback, not gb18030

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 13 00:32:05 PDT 2021


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

            Bug ID: 231660
           Summary: Use GBK as fallback, not gb18030
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: annevk at annevk.nl

For users with a Chinese locale, it's better to use GBK as the fallback encoding. It uses the same decoder as gb18030, but it uses a more conservative encoder which is likely more compatible with servers.

Chrome and Firefox already have (this) behavior (like this). (Unfortunately there are still some differences in the overall text encoding story. Mozilla would be up for standardizing those.)

https://github.com/whatwg/html/pull/4714 changed this in the HTML Standard.

-- 
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/20211013/96367c09/attachment.htm>


More information about the webkit-unassigned mailing list