From 665ef62b3de66dba08979d6bca4381df0c90e6f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wiesner=20Andr=C3=A1s?= Date: Mon, 25 Mar 2024 07:59:38 +0100 Subject: [PATCH] - charset detection priority reordered --- gamemgr.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamemgr.php b/gamemgr.php index ec4ad6a..1e6575a 100644 --- a/gamemgr.php +++ b/gamemgr.php @@ -87,7 +87,7 @@ function get_all_game_data_by_contributor_nickname(string $nickname): array return $game_headers; } -const CSV_ENCODINGS = ["Windows-1252", "UTF-8"]; +const CSV_ENCODINGS = ["UTF-8", "Windows-1252"]; function import_challenges_from_csv(string $csv_path, string $gameid): array {