[all-commits] [llvm/llvm-project] b3205e: [scan-view] Explicitly use utf-8 in send_string

serge-sans-paille via All-commits all-commits at lists.llvm.org
Mon Sep 7 00:31:33 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b3205e2ace4378600dedba0cc5a42b481c4e22c9
      https://github.com/llvm/llvm-project/commit/b3205e2ace4378600dedba0cc5a42b481c4e22c9
  Author: Tomas Rix <trix at juniper.net>
  Date:   2020-09-07 (Mon, 07 Sep 2020)

  Changed paths:
    M clang/tools/scan-view/share/ScanView.py

  Log Message:
  -----------
  [scan-view] Explicitly use utf-8 in send_string

send_patched_file decodes with utf-8.
The default encoder for python 2 is ascii.

So it is necessary to also change send_string to use utf-8.

Differential Revision: https://reviews.llvm.org/D83984




More information about the All-commits mailing list