[Webkit-unassigned] [Bug 218018] Error handling for ISO-2022-JP is incorrect

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 21 13:14:56 PDT 2020


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

--- Comment #1 from Darin Adler <darin at apple.com> ---
Strange, Alex’s new code in TextCodecCJK::iso2022JPDecode has code like this:

    if (byte <= 0x7F && byte != 0x0E && byte != 0x0F && byte != 0x1B) {
        m_iso2022JPOutput = false;
        result.append(byte);
        break;
    }
    m_iso2022JPOutput = false;
    return SawError::Yes;

Sure looks like that would treat it as an error. Wonder why that’s not working. Or maybe Anne is testing an older version of Safari that used the ICU decoder?

-- 
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/20201021/e9166dd2/attachment.htm>


More information about the webkit-unassigned mailing list