A feature-rich command-line audio/video downloader
[--load-info] Always read file as UTF-8
Philipp Hagemeister395293a88956
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.pyindex 79d5c7e5eb..6538fc06cc 100644--- a/youtube_dl/YoutubeDL.py+++ b/youtube_dl/YoutubeDL.py@@ -883,8 +883,7 @@ class YoutubeDL(object):return self._download_retcodedef download_with_info_file(self, info_filename):- with open(info_filename, 'r') as f:- # TODO: Check for errors+ with io.open(info_filename, 'r', encoding='utf-8') as f:info = json.load(f)try:self.process_ie_result(info, download=True)