{"action":"created","issue":{"url":"https://api.github.com/repos/guessit-io/guessit/issues/43","labels_url":"https://api.github.com/repos/guessit-io/guessit/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/guessit-io/guessit/issues/43/comments","events_url":"https://api.github.com/repos/guessit-io/guessit/issues/43/events","html_url":"https://github.com/guessit-io/guessit/issues/43","id":19543829,"number":43,"title":"UnicodeEncodeError with non english filename","user":{"login":"Crupuk","id":670728,"avatar_url":"https://avatars.githubusercontent.com/u/670728?v=3","gravatar_id":"","url":"https://api.github.com/users/Crupuk","html_url":"https://github.com/Crupuk","followers_url":"https://api.github.com/users/Crupuk/followers","following_url":"https://api.github.com/users/Crupuk/following{/other_user}","gists_url":"https://api.github.com/users/Crupuk/gists{/gist_id}","starred_url":"https://api.github.com/users/Crupuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Crupuk/subscriptions","organizations_url":"https://api.github.com/users/Crupuk/orgs","repos_url":"https://api.github.com/users/Crupuk/repos","events_url":"https://api.github.com/users/Crupuk/events{/privacy}","received_events_url":"https://api.github.com/users/Crupuk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2013-09-16T10:45:49Z","updated_at":"2016-01-21T11:52:58Z","closed_at":"2013-11-11T20:44:44Z","body":"Here is a exemple :\r\n\r\ntouch /tmp/15x15\\ Les\\ Simpson\\ -\\ Boire\\ et\\ déboires.avi\r\nguessit /tmp/15x15\\ Les\\ Simpson\\ -\\ Boire\\ et\\ déboires.avi\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/bin/guessit\", line 9, in <module>\r\n    load_entry_point('guessit==0.6', 'console_scripts', 'guessit')()\r\n  File \"/usr/lib/python2.6/site-packages/guessit/__main__.py\", line 109, in main\r\n    info = options.info.split(','))\r\n  File \"/usr/lib/python2.6/site-packages/guessit/__main__.py\", line 32, in detect_filename\r\n    print('For:', filename)\r\nUnicodeEncodeError: 'ascii' codec can't encode character u'\\xe9' in position 63: ordinal not in range(128)\r\n```\r\n\r\n```\r\npython --version\r\nPython 2.6.6\r\n```\r\n\r\nI don't know how to resolv it :-( \r\n\r\nThanks "},"comment":{"url":"https://api.github.com/repos/guessit-io/guessit/issues/comments/173548118","html_url":"https://github.com/guessit-io/guessit/issues/43#issuecomment-173548118","issue_url":"https://api.github.com/repos/guessit-io/guessit/issues/43","id":173548118,"user":{"login":"Toilal","id":1165758,"avatar_url":"https://avatars.githubusercontent.com/u/1165758?v=3","gravatar_id":"","url":"https://api.github.com/users/Toilal","html_url":"https://github.com/Toilal","followers_url":"https://api.github.com/users/Toilal/followers","following_url":"https://api.github.com/users/Toilal/following{/other_user}","gists_url":"https://api.github.com/users/Toilal/gists{/gist_id}","starred_url":"https://api.github.com/users/Toilal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Toilal/subscriptions","organizations_url":"https://api.github.com/users/Toilal/orgs","repos_url":"https://api.github.com/users/Toilal/repos","events_url":"https://api.github.com/users/Toilal/events{/privacy}","received_events_url":"https://api.github.com/users/Toilal/received_events","type":"User","site_admin":false},"created_at":"2016-01-21T11:52:58Z","updated_at":"2016-01-21T11:52:58Z","body":"Could you try to manually remove this line : https://github.com/guessit-io/guessit/blob/1.x/guessit/__main__.py#L214 ?"}}