From 7e72205add7b98cb755aceff6b88ba0db2ee1fb6 Mon Sep 17 00:00:00 2001 From: Anthony Samms Date: Thu, 23 Oct 2025 09:40:52 -0400 Subject: [PATCH] Update song_hash.py --- libs/song_hash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/song_hash.py b/libs/song_hash.py index 5a12ea7..4f2cec2 100644 --- a/libs/song_hash.py +++ b/libs/song_hash.py @@ -25,7 +25,7 @@ class DiffHashesDecoder(json.JSONDecoder): def read_tjap3_score(input_file: Path): """Read a TJAPlayer3 score.ini file and return the scores and clears.""" score_ini = configparser.ConfigParser() - score_ini.read(input_file) + score_ini.read(input_file, encoding='utf-8') scores = [int(score_ini['HiScore.Drums']['HiScore1']), int(score_ini['HiScore.Drums']['HiScore2']), int(score_ini['HiScore.Drums']['HiScore3']),