Hi,
I encountered the following error trying to sync my S3 back to a local
folder. Error report is as follows:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
An unexpected error has occurred.
Please report the following lines to:
s3tools-b...@lists.sourceforge.net
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Problem: UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in
position 108: ordinal not in range(128)
S3cmd: 1.0.1
Traceback (most recent call last):
File "/usr/bin/s3cmd", line 2006, in <module>
main()
File "/usr/bin/s3cmd", line 1950, in main
cmd_func(args)
File "/usr/bin/s3cmd", line 1213, in cmd_sync
return cmd_sync_remote2local(args)
File "/usr/bin/s3cmd", line 966, in cmd_sync_remote2local
output(u"download: %s -> %s" % (remote_list[key]['object_uri_str'],
remote_list[key]['local_filename']))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 108:
ordinal not in range(128)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
An unexpected error has occurred.
Please report the above lines to:
s3tools-b...@lists.sourceforge.net
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
The command is
s3cmd sync -r -rr --encoding UTF-8 --dry-run s3://
mybucket.s3.amazonaws.com/remote-folder /localfolder/
The filename contains the characters '青い栞'. It seems UTF-8 encoding still
has problems with CJK characters. Is there any way I can still grab my
files with s3cmd in spite of this?
Cheers,
JS
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
S3tools-general mailing list
S3tools-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s3tools-general