[webkit-changes] [WebKit/WebKit] 3c2f65: [webkit-patch] Parse non-utf characters (Follow-up)

Jonathan Bedard noreply at github.com
Mon Dec 12 15:37:03 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3c2f6580b5c3775b27573189fc83f413e5559202
      https://github.com/WebKit/WebKit/commit/3c2f6580b5c3775b27573189fc83f413e5559202
  Author: Jonathan Bedard <jbedard at apple.com>
  Date:   2022-12-12 (Mon, 12 Dec 2022)

  Changed paths:
    M Tools/Scripts/webkitpy/common/checkout/diff_parser.py
    M Tools/Scripts/webkitpy/style/patchreader.py

  Log Message:
  -----------
  [webkit-patch] Parse non-utf characters (Follow-up)
https://bugs.webkit.org/show_bug.cgi?id=245742
<rdar://100466774>

Reviewed by Dewei Zhu.

* Tools/Scripts/webkitpy/common/checkout/diff_parser.py:
(get_diff_converter): Fall back to iso-8859-1 if utf-8 fails.
* Tools/Scripts/webkitpy/style/patchreader.py:
(PatchReader.check): Ditto.

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




More information about the webkit-changes mailing list