diff --git a/redbot/core/utils/data_converter.py b/redbot/core/utils/data_converter.py index bc4029827..178c856ce 100644 --- a/redbot/core/utils/data_converter.py +++ b/redbot/core/utils/data_converter.py @@ -28,7 +28,7 @@ class DataConverter: The file isn't valid JSON """ try: - with open(file_path, mode='r') as f: + with file_path.open(mode='r', encoding='utf-8') as f: data = json.load(f) except (FileNotFoundError, json.JSONDecodeError): raise