GSDumpRunner: Use utf-8 encoding for opening files.

Allows the dump compare to work normally with unique characters.
This commit is contained in:
lightningterror
2026-01-24 13:12:44 +01:00
parent a85b203689
commit 84dc2959c5

View File

@@ -184,7 +184,7 @@ if __name__ == "__main__":
args = parser.parse_args()
MAX_DIFF_FRAMES = args.maxframes
outfile = open(args.outfile, "w")
outfile = open(args.outfile, "w", encoding="utf-8")
write(FILE_HEADER)
if not check_regression_tests(os.path.realpath(args.baselinedir), os.path.realpath(args.testdir)):