Problem: UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in position 107: ordinal not in range(128)
S3cmd:   1.5.0-alpha1

Traceback (most recent call last):
  File "./s3cmd", line 2037, in <module>
    main()
  File "./s3cmd", line 1978, in main
    cmd_func(args)
  File "./s3cmd", line 576, in cmd_cp
    subcmd_cp_mv(args, s3.object_copy, "copy", "File %(src)s copied to %(dst)s")
  File "./s3cmd", line 531, in subcmd_cp_mv
    remote_list = fetch_remote_list(args, require_attribs = False)
  File "/Users/burnes/Downloads/s3cmd-1.5.0-alpha1/S3/FileLists.py", line 340, in fetch_remote_list
    uri_str = str(uri)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in position 107: ordinal not in range(128)


Trying to copy files with special characters (Umlaut) from one bucket to another. Using unicode(uri) worked for me (I did not use wild card)


-- 
Bernhard Kuzel, Developer

Lovely Systems GmbH
Telefon +43 5572 908060, Fax +43 5572 908060-77
Hintere Achmühlerstraße 1, 6850 Dornbirn, Austria

Sitz: Dornbirn, FB: Landesgericht Feldkirch, FN: 208859x, UID: ATU51736705
Geschäftsführer: Manfred Schwendinger