From 81ab524a50bbec84c4cacf0d2d753f8c143e1682 Mon Sep 17 00:00:00 2001 From: tarotene Date: Wed, 17 May 2023 21:13:16 +0900 Subject: [PATCH] ci: allow MacRoman misjudgement Signed-off-by: tarotene --- Script/CI/check_encoding.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Script/CI/check_encoding.py b/Script/CI/check_encoding.py index 5b8a0986c..458d153eb 100644 --- a/Script/CI/check_encoding.py +++ b/Script/CI/check_encoding.py @@ -81,7 +81,7 @@ def check_encoding(path, encoding): enc = ret["encoding"] # print(enc) if encoding == "utf-8": - if enc == "utf-8" or enc == "ascii": + if enc == "utf-8" or enc == "ascii" or enc == "MacRoman": return True # なぜか以下のような誤認もあるので if enc == "Windows-1252" or enc == "ISO-8859-1" or enc is None: