diff --git a/youtube_dl/FileDownloader.py b/youtube_dl/FileDownloader.py index 4c79be432..825556f82 100644 --- a/youtube_dl/FileDownloader.py +++ b/youtube_dl/FileDownloader.py @@ -351,6 +351,7 @@ class FileDownloader(object): """Process a single dictionary returned by an InfoExtractor.""" info_dict['stitle'] = sanitize_filename(info_dict['title'], self.params.get('restrictfilenames')) + info_dict['atitle'] = info_dict['stitle'].encode('ascii', 'ignore') reason = self._match_entry(info_dict) if reason is not None: