Is there any way to correctly upload unicode filenames to S3 using s3cmd from an OS X machine?
The problem is the following:
- OS X uses NFD filenames, Linux/BSD and Amazon uses NFC (for static file serving).
- When using
rsync
, I can specify the--iconv=UTF8-MAC,UTF-8
switch, which does the correct file-name conversion. - However when using s3cmd, the file name conversion does not happen, thus non-ascii files cannot be accessed from the web (using their original URL), as their names are now in NFD form.
The only workaround I know for this issue is to upload the files to a Linux/BSD server and run s3cmd from there.
Is there any solution to this which does not involve using a Linux/BSD host?