Set utf-8 encoding for reading the logo (#54)

This appears primarily in Windows CLIs, see #48.
Also `termios` is not supported on Windows, however I haven't yet looked into an alternative.
This commit is contained in:
dlavati
2019-12-08 22:14:29 -07:00
committed by Nick Walton
parent 32b5c441b0
commit 052018d8b5
+1 -1
View File
@@ -75,7 +75,7 @@ def play_aidungeon_2():
story_manager = UnconstrainedStoryManager(generator)
print("\n")
with open('opening.txt', 'r') as file:
with open('opening.txt', 'r', encoding='utf-8') as file:
starter = file.read()
print(starter)