diff --git a/generate_mac/__init__.py b/generate_mac/__init__.py index 5b23d6e..3fe9e51 100644 --- a/generate_mac/__init__.py +++ b/generate_mac/__init__.py @@ -28,7 +28,7 @@ def _read_vid_file(vid_file): ''' Every line is [MAC,Vendor,Comment]''' out_lines = [] try: - in_file = open(vid_file,"r") + in_file = open(vid_file,"r",encoding="utf8") file_lines = in_file.readlines() in_file.close() except FileNotFoundError: