{"action":"created","issue":{"url":"https://api.github.com/repos/MrS0m30n3/youtube-dl-gui/issues/39","labels_url":"https://api.github.com/repos/MrS0m30n3/youtube-dl-gui/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/MrS0m30n3/youtube-dl-gui/issues/39/comments","events_url":"https://api.github.com/repos/MrS0m30n3/youtube-dl-gui/issues/39/events","html_url":"https://github.com/MrS0m30n3/youtube-dl-gui/issues/39","id":68047977,"number":39,"title":"Doens't accept unicode names","user":{"login":"mbnoimi","id":284547,"avatar_url":"https://avatars.githubusercontent.com/u/284547?v=3","gravatar_id":"","url":"https://api.github.com/users/mbnoimi","html_url":"https://github.com/mbnoimi","followers_url":"https://api.github.com/users/mbnoimi/followers","following_url":"https://api.github.com/users/mbnoimi/following{/other_user}","gists_url":"https://api.github.com/users/mbnoimi/gists{/gist_id}","starred_url":"https://api.github.com/users/mbnoimi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbnoimi/subscriptions","organizations_url":"https://api.github.com/users/mbnoimi/orgs","repos_url":"https://api.github.com/users/mbnoimi/repos","events_url":"https://api.github.com/users/mbnoimi/events{/privacy}","received_events_url":"https://api.github.com/users/mbnoimi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-04-13T09:05:00Z","updated_at":"2015-10-18T12:26:17Z","closed_at":null,"body":"It doesn't work under Windows in case I pointed to Unicode names (whether folder name or video name). The log doesn't show any useful info I just get this:\r\n````\r\n[04/13/15 11:53:36] WARNING: There's no description to write.\r\n````\r\n\r\nYou can test it using [this Arabic video](http://www.dailymotion.com/video/x2h0g6c_%D9%88%D8%AB%D8%A7%D8%A6%D9%82%D9%8A-royal-secrets-%D8%B3%D9%84%D8%B3%D9%84%D8%A9-%D8%B9%D9%85%D9%84%D9%8A%D8%A7%D8%AA-%D8%A5%D8%AD%D8%AA%D9%8A%D8%A7%D9%84-%D8%AF%D9%88%D9%84%D9%8A%D8%A9-1-12-%D9%88%D8%B5%D9%8A%D8%A9-%D8%A7%D9%84%D8%B3%D9%8A%D8%AF%D8%A9-%D8%A7%D9%84%D8%B9%D8%AC%D9%88%D8%B2_shortfilms) under DailyMotion (this bug occurs for YouTube too)\r\nIn case I pointed to Arabic folder name it failes to download. If I pointed to Latin folder name it download the file as following:\r\n```\r\n Royal Secrets _      -1_12-   .mp4\r\n```\r\nWhile it should be as following:\r\n```\r\n سلسلة عمليات إحتيال دولية -1/12- وصية السيدة العجوز.mp4\r\n```\r\n\r\n![2015-04-13_12-03-56](https://cloud.githubusercontent.com/assets/284547/7112717/35bb2790-e1d5-11e4-829e-c5168ae975bc.png)\r\n"},"comment":{"url":"https://api.github.com/repos/MrS0m30n3/youtube-dl-gui/issues/comments/149006874","html_url":"https://github.com/MrS0m30n3/youtube-dl-gui/issues/39#issuecomment-149006874","issue_url":"https://api.github.com/repos/MrS0m30n3/youtube-dl-gui/issues/39","id":149006874,"user":{"login":"MrS0m30n3","id":6824900,"avatar_url":"https://avatars.githubusercontent.com/u/6824900?v=3","gravatar_id":"","url":"https://api.github.com/users/MrS0m30n3","html_url":"https://github.com/MrS0m30n3","followers_url":"https://api.github.com/users/MrS0m30n3/followers","following_url":"https://api.github.com/users/MrS0m30n3/following{/other_user}","gists_url":"https://api.github.com/users/MrS0m30n3/gists{/gist_id}","starred_url":"https://api.github.com/users/MrS0m30n3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrS0m30n3/subscriptions","organizations_url":"https://api.github.com/users/MrS0m30n3/orgs","repos_url":"https://api.github.com/users/MrS0m30n3/repos","events_url":"https://api.github.com/users/MrS0m30n3/events{/privacy}","received_events_url":"https://api.github.com/users/MrS0m30n3/received_events","type":"User","site_admin":false},"created_at":"2015-10-18T12:26:17Z","updated_at":"2015-10-18T12:26:17Z","body":"@rb07 \r\n\r\nThis was a completely different issue. Anyway, the problem was in the joining process as you can see in your log file, i just had to decode the imported value from the os.getenv function using the system preferred encoding. You should not longer face this issue as long as your system encoding can handle the foreign characters (See: https://github.com/MrS0m30n3/youtube-dl-gui/commit/def80ed6b419ff121a6284fd9ea402af3cf95386 for more details). \r\n\r\n\r\nYou can find the patched portable version [here](https://drive.google.com/file/d/0B4LUjPpAKNa1TUNaeWRIeFpUS0k/view?usp=sharing).\r\nCan you give it a try an let me know if that worked?"}}