diff options
author | jellysheep <max.mail@dameweb.de> | 2015-10-18 21:34:40 +0200 |
---|---|---|
committer | jellysheep <max.mail@dameweb.de> | 2015-10-18 21:34:40 +0200 |
commit | aff9388d433847fa7adad7421c4d76bd5bdd4e5a (patch) | |
tree | 6e6e37d72e6a6c3f9664cba6aed2c2c96eec3bc7 /tests | |
parent | Merge pull request #2024 from GammaC0de/patch-6 (diff) | |
download | pyload-aff9388d433847fa7adad7421c4d76bd5bdd4e5a.tar.xz |
[ZDF] Encode file name to ASCII for compatibility
This ensures that unicode filenames with UTF-8 characters are encoded into ASCII strings, to be compatible to all Pyload methods using `pyfile.name`.
The encoding now is similar to the [YoutubeCom hoster module](https://github.com/pyload/pyload/blob/f61dcaa263750a61f86b4bfbaf9c2cf20c157de0/module/plugins/hoster/YoutubeCom.py#L145).
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions