[webkit-changes] [WebKit/WebKit] b1d9de: Remove UnencodableHandling::QuestionMarks

Anne van Kesteren noreply at github.com
Mon Apr 3 11:55:29 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b1d9de61e8c5d8732404998716825483d5a085ef
      https://github.com/WebKit/WebKit/commit/b1d9de61e8c5d8732404998716825483d5a085ef
  Author: Anne van Kesteren <annevk at annevk.nl>
  Date:   2023-04-03 (Mon, 03 Apr 2023)

  Changed paths:
    M Source/WebCore/PAL/pal/text/TextCodec.cpp
    M Source/WebCore/PAL/pal/text/TextCodecCJK.cpp
    M Source/WebCore/PAL/pal/text/TextCodecICU.cpp
    M Source/WebCore/PAL/pal/text/UnencodableHandling.h

  Log Message:
  -----------
  Remove UnencodableHandling::QuestionMarks
https://bugs.webkit.org/show_bug.cgi?id=254903
rdar://107544821

Reviewed by Youenn Fablet.

No code used this value and web standards do not support it.

* Source/WebCore/PAL/pal/text/TextCodec.cpp:
(PAL::TextCodec::getUnencodableReplacement):
* Source/WebCore/PAL/pal/text/TextCodecCJK.cpp:
(PAL::TextCodecCJK::registerEncodingNames):
(PAL::TextCodecCJK::iso2022JPDecode):
(PAL::iso2022JPEncode):
(PAL::shiftJISEncode):
(PAL::eucKREncode):
(PAL::big5Encode):
(PAL::Function<void):
(PAL::questionMarkUnencodableHandler): Deleted.
* Source/WebCore/PAL/pal/text/TextCodecICU.cpp:
(PAL::TextCodecICU::decode):
(PAL::TextCodecICU::encode const):
* Source/WebCore/PAL/pal/text/UnencodableHandling.h:

Canonical link: https://commits.webkit.org/262522@main




More information about the webkit-changes mailing list