{"action":"created","issue":{"url":"https://api.github.com/repos/aws/aws-cli/issues/1368","repository_url":"https://api.github.com/repos/aws/aws-cli","labels_url":"https://api.github.com/repos/aws/aws-cli/issues/1368/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-cli/issues/1368/comments","events_url":"https://api.github.com/repos/aws/aws-cli/issues/1368/events","html_url":"https://github.com/aws/aws-cli/issues/1368","id":85188923,"number":1368,"title":"Filename encoding errors","user":{"login":"melat0nin","id":912688,"avatar_url":"https://avatars.githubusercontent.com/u/912688?v=3","gravatar_id":"","url":"https://api.github.com/users/melat0nin","html_url":"https://github.com/melat0nin","followers_url":"https://api.github.com/users/melat0nin/followers","following_url":"https://api.github.com/users/melat0nin/following{/other_user}","gists_url":"https://api.github.com/users/melat0nin/gists{/gist_id}","starred_url":"https://api.github.com/users/melat0nin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melat0nin/subscriptions","organizations_url":"https://api.github.com/users/melat0nin/orgs","repos_url":"https://api.github.com/users/melat0nin/repos","events_url":"https://api.github.com/users/melat0nin/events{/privacy}","received_events_url":"https://api.github.com/users/melat0nin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aws/aws-cli/labels/locale","name":"locale","color":"eb6420"},{"url":"https://api.github.com/repos/aws/aws-cli/labels/s3","name":"s3","color":"eb6420"},{"url":"https://api.github.com/repos/aws/aws-cli/labels/unicode","name":"unicode","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2015-06-04T17:08:02Z","updated_at":"2016-07-15T00:52:22Z","closed_at":null,"body":"Hello all\r\n\r\nI'm using `aws s3 sync` to upload to a bucket, but I'm getting errors on many files:\r\n\r\n````\r\n    Please check your locale settings.  The filename was decoded as: ANSI_X3.4-1968\r\n    On posix platforms, check the LC_CTYPE environment variable.\r\n````\r\n\r\nMy system is Ubuntu Server 14.04 running aws-cli 1.7.5 and Python 2.7.6. I've altered my installations locale to `en_US.UTF-8` using `export LC_ALL=en_US.UTF-8`, but that didn't change anything. The filesystem is ext4, and the files in question have been created by OSX via Netatalk 3.1.7 (AFP).\r\n\r\nAny suggestions very much welcome..."},"comment":{"url":"https://api.github.com/repos/aws/aws-cli/issues/comments/232833145","html_url":"https://github.com/aws/aws-cli/issues/1368#issuecomment-232833145","issue_url":"https://api.github.com/repos/aws/aws-cli/issues/1368","id":232833145,"user":{"login":"flaviovs","id":1832699,"avatar_url":"https://avatars.githubusercontent.com/u/1832699?v=3","gravatar_id":"","url":"https://api.github.com/users/flaviovs","html_url":"https://github.com/flaviovs","followers_url":"https://api.github.com/users/flaviovs/followers","following_url":"https://api.github.com/users/flaviovs/following{/other_user}","gists_url":"https://api.github.com/users/flaviovs/gists{/gist_id}","starred_url":"https://api.github.com/users/flaviovs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flaviovs/subscriptions","organizations_url":"https://api.github.com/users/flaviovs/orgs","repos_url":"https://api.github.com/users/flaviovs/repos","events_url":"https://api.github.com/users/flaviovs/events{/privacy}","received_events_url":"https://api.github.com/users/flaviovs/received_events","type":"User","site_admin":false},"created_at":"2016-07-15T00:52:22Z","updated_at":"2016-07-15T00:52:22Z","body":"I wouldn't say *most* use cases, because for most people the charset and encoding is already setup properly. For those guys that can guarantee that all your users will be creating only single-encoding file names, I expect that the default and per-user locale will be already set properly, otherwise they'll face many other problems before even thinking about a backup.\r\n\r\nAnyway, this issue is about you having two files A and B, where A's name is encoded as X, and B's as Y, so we can't backup both.\r\n\r\nBut, fair enough, your point is valid, as it may help others.\r\n\r\np.s.: I was rereading my reply for your post above, and thinking that one issue that might have caused your problems re `en_US`/`en_CA` was that the `en_CA` encoding table might not be available on the remote server when you connected."}}
{"actor":{"display_login":"flaviovs"}}