diff --git a/DemoPrograms/Demo_GitHub_File_Copier.py b/DemoPrograms/Demo_GitHub_File_Copier.py index 80550c38..dc09f4ec 100644 --- a/DemoPrograms/Demo_GitHub_File_Copier.py +++ b/DemoPrograms/Demo_GitHub_File_Copier.py @@ -72,7 +72,7 @@ def find_in_file(string): for file in demo_files: filename = os.path.join(demo_path, file) try: - with open(filename, 'r') as f: + with open(filename, 'r', encoding="utf8") as f: for line in f.readlines(): if string in line.lower(): file_list.append(file)