summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6c45ab8)
raw | patch | inline | side by side (parent: 6c45ab8)
author | Dmitry D. Chernov <blackdoomer@yandex.ru> | |
Mon, 10 Apr 2023 19:20:43 +0000 (05:20 +1000) | ||
committer | Dmitry D. Chernov <blackdoomer@yandex.ru> | |
Mon, 10 Apr 2023 19:20:43 +0000 (05:20 +1000) |
src/game/g_game.pas | patch | blob | history |
diff --git a/src/game/g_game.pas b/src/game/g_game.pas
index b1a10ea8ba434ccaf0394d86b186678309e2ffaa..958023d653c0cb8c1ff125b7ae2cb405dbce9579 100644 (file)
--- a/src/game/g_game.pas
+++ b/src/game/g_game.pas
fname := e_CatPath(fname, StatFilename + '.csv');
AssignFile(s, fname);
try
+ SetTextCodePage(s, CP_UTF8);
Rewrite(s);
// line 1: stats ver, datetime, server name, map name, game mode, time limit, score limit, dmflags, game time, num players
if g_Game_IsNet then fname := NetServerName else fname := '';