S3Sync.net
February 02, 2014, 01:30:25 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
S3Sync.net
>
General Category
>
Questions
>
`iconv': invalid encoding
Pages: [
1
]
« previous
next »
Print
Author
Topic: `iconv': invalid encoding (Read 2935 times)
Glyn
Newbie
Posts: 6
`iconv': invalid encoding
«
on:
October 23, 2007, 04:35:51 PM »
Hi, I'm new to s3sync and I'm trying to get it running on my synology diskstation NAS device. However, when I run s3cmd (or s3sync) I get the following results (I've already added my "brainbackup" bucket with s3cmd).
I suspect that the solution may lay with S3SYNC_NATIVE_CHARSET, but I don't what this needs to be set to (However, I read the message that it's trying to use UTF-8... so that should be valid??).
Any help gratefully received!
Thanks,
Glyn
Brain> ruby s3cmd.rb listbuckets
brainbackup
Brain> ruby s3cmd.rb list brainbackup
--------------------
./S3encoder.rb:42:in `iconv': invalid encoding ("UTF-8", "ISO-8859-1") (Iconv::I
nvalidEncoding)
from ./S3encoder.rb:42:in `escape'
from ./S3.rb:138:in `list_bucket'
from s3cmd.rb:20:in `map'
from ./S3.rb:138:in `each'
from ./S3.rb:138:in `map'
from ./S3.rb:138:in `list_bucket'
from ./s3try.rb:57:in `send'
from ./s3try.rb:57:in `S3try'
from s3cmd.rb:190:in `s3cmdList'
from s3cmd.rb:115:in `s3cmdMain'
from s3cmd.rb:211
Brain>
Further info on Ruby version etc,
Brain> ipkg status
Package: make
Version: 3.81-1
Status: install user installed
Architecture: powerpc
Installed-Time: 1193168956
Package: openssl
Version: 0.9.7m-3
Status: install user installed
Architecture: powerpc
Package: ruby
Version: 1.8.6.110-1
Status: install user installed
Architecture: powerpc
Package: rubygems
Version: 0.9.2-1
Depends: ruby (>= 1.8.4-2)
Status: install user installed
Architecture: powerpc
Package: wget-ssl
Version: 1.10.2-4
Depends: openssl
Conflicts: wget
Status: install user installed
Architecture: powerpc
Package: zlib
Version: 1.2.3-2
Status: install user installed
Architecture: powerpc
Successfully terminated.
Brain>
Logged
Glyn
Newbie
Posts: 6
Re: `iconv': invalid encoding
«
Reply #1 on:
October 24, 2007, 01:29:48 PM »
export S3SYNC_NATIVE_CHARSET=UTF-8
fixed it.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> Announcements
=> Questions
=> General Discussion
=> Report Bugs
===> Closed Bugs
=> Feature Requests
Loading...