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-bugs@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-bugs@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