[Webkit-unassigned] [Bug 180747] New: [GTK] Support ISO-8859-16

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 13 05:41:47 PST 2017


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

            Bug ID: 180747
           Summary: [GTK] Support ISO-8859-16
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Text
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Ms2ger at igalia.com
                CC: mmaxfield at apple.com

new TextDecoder("iso-8859-16", {fatal: true}).decode(new Uint8Array([164])) is supposed to return a string containing the Euro sign; it does not. This happens because TextCodecICU::createICUConverter() fails to create the converter. (This is the "error creating ICU encoder even though encoding was in table" error case in TextCodecICU::decode().)

Before r225618, it returned the empty string; since r225618, it throws a TypeError (in the decode() call, not in the constructor).

imported/w3c/web-platform-tests/encoding/textdecoder-fatal-single-byte.html checks that no exception is thrown, but not that the result is correct.

-- 
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/20171213/63a323e7/attachment.html>


More information about the webkit-unassigned mailing list