From 84dc2959c594cd7f2d51e406d5d405b78a6870fd Mon Sep 17 00:00:00 2001 From: lightningterror <18107717+lightningterror@users.noreply.github.com> Date: Sat, 24 Jan 2026 13:12:44 +0100 Subject: [PATCH] GSDumpRunner: Use utf-8 encoding for opening files. Allows the dump compare to work normally with unique characters. --- pcsx2-gsrunner/test_check_dumps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2-gsrunner/test_check_dumps.py b/pcsx2-gsrunner/test_check_dumps.py index e00407ab11..189305c399 100644 --- a/pcsx2-gsrunner/test_check_dumps.py +++ b/pcsx2-gsrunner/test_check_dumps.py @@ -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)):