Age | Commit message (Collapse) | Author |
|
Fixes #5589
|
|
|
|
For more information, see #5498 and changes to convertObj() in
iustin/pyxattr@cc84e466f63906d32ec1bf4a4fcae6a7bce9a4c8
|
|
We could only know if we had to delete the original file, but this system allows to specify us more files (like subtitles).
|
|
From now on, the line
from __future__ import unicode_literals
should be contained in every single Python file lest we run into any more 2.x/3.x issues.
Going forward, we're likely to develop on 3.x only and would likely miss subtle bugs otherwise.
|
|
|
|
utils is large enough without these compatibility functions.
Everything that is present in newer versions of Python (i.e. with dev Python it's just an import) goes into compat.py .
Everything else (i.e. youtube-dl-specific helpers) goes into utils.py .
|
|
|
|
|
|
|
|
On Windows and other systems, other encodings would break when trying to encode non-ASCII characters.
Simply use UTF-8, like every sane system.
|
|
In particular, explicitly require NT before trying ADS, and do not try to parse process output that may be localized.
|
|
|
|
|
|
|