Amy Wang 8f4e6cfe73 [clang-format] Use utf-8 for JSON object load
From Python 3.6 and above, it should be able to automatically select a
decoding for json.loads. However, with a vim encoding that defaults
to utf-8, clang-format.py runs into the following error

    TypeError: the JSON object must be str, not 'bytes'

This patch explicitly specifies utf-8 decoding for the header.

Reviewed by: ldrumm, sammcall

Differential Revision: https://reviews.llvm.org/D133236
2022-09-05 15:40:47 +01:00
..
2022-08-01 13:13:18 -04:00
2022-08-01 13:13:18 -04:00