mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-04-04 21:31:28 +02:00
Add utf-8 mode to translation checker script
This commit is contained in:
@ -17,7 +17,7 @@ code_lang = args.language
|
||||
|
||||
def LoadTranslateFile(filename, direction):
|
||||
result = set()
|
||||
file = open(filename, 'r')
|
||||
file = open(filename, 'r', encoding="utf-8")
|
||||
for line in file:
|
||||
line = line.strip()
|
||||
if line.startswith('#') or line == '':
|
||||
|
Reference in New Issue
Block a user