{"action":"created","issue":{"url":"https://api.github.com/repos/bloomreach/s4cmd/issues/14","labels_url":"https://api.github.com/repos/bloomreach/s4cmd/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/bloomreach/s4cmd/issues/14/comments","events_url":"https://api.github.com/repos/bloomreach/s4cmd/issues/14/events","html_url":"https://github.com/bloomreach/s4cmd/issues/14","id":41689210,"number":14,"title":"Unicode characters","user":{"login":"timtimellis","id":1150419,"avatar_url":"https://avatars.githubusercontent.com/u/1150419?v=3","gravatar_id":"","url":"https://api.github.com/users/timtimellis","html_url":"https://github.com/timtimellis","followers_url":"https://api.github.com/users/timtimellis/followers","following_url":"https://api.github.com/users/timtimellis/following{/other_user}","gists_url":"https://api.github.com/users/timtimellis/gists{/gist_id}","starred_url":"https://api.github.com/users/timtimellis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timtimellis/subscriptions","organizations_url":"https://api.github.com/users/timtimellis/orgs","repos_url":"https://api.github.com/users/timtimellis/repos","events_url":"https://api.github.com/users/timtimellis/events{/privacy}","received_events_url":"https://api.github.com/users/timtimellis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-09-02T09:11:54Z","updated_at":"2015-07-08T18:55:25Z","closed_at":null,"body":"Seems to not like unicode - example from sync below:\r\n\r\ns3://skrivapa-staging/1491993470/Testavtal.pdf.pdf => /local/1491993470/Testavtal.pdf.pdf\r\n'ascii' codec can't encode character u'\\xe5' in position 35: ordinal not in range(128)"},"comment":{"url":"https://api.github.com/repos/bloomreach/s4cmd/issues/comments/119696072","html_url":"https://github.com/bloomreach/s4cmd/issues/14#issuecomment-119696072","issue_url":"https://api.github.com/repos/bloomreach/s4cmd/issues/14","id":119696072,"user":{"login":"bendenoz","id":3428395,"avatar_url":"https://avatars.githubusercontent.com/u/3428395?v=3","gravatar_id":"","url":"https://api.github.com/users/bendenoz","html_url":"https://github.com/bendenoz","followers_url":"https://api.github.com/users/bendenoz/followers","following_url":"https://api.github.com/users/bendenoz/following{/other_user}","gists_url":"https://api.github.com/users/bendenoz/gists{/gist_id}","starred_url":"https://api.github.com/users/bendenoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bendenoz/subscriptions","organizations_url":"https://api.github.com/users/bendenoz/orgs","repos_url":"https://api.github.com/users/bendenoz/repos","events_url":"https://api.github.com/users/bendenoz/events{/privacy}","received_events_url":"https://api.github.com/users/bendenoz/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T18:55:24Z","updated_at":"2015-07-08T18:55:24Z","body":"I am experiencing the same problem, and replacing all instances of the following appears to fix it, although I have not made extensive testing\r\n\r\n```diff\r\n-      key = bucket.get_key(s3url.path)\r\n+      key = bucket.get_key(s3url.path.decode('utf-8'))\r\n```"}}