iconv and daemon mode
Jochen.Reinwand at gmx.de
Sat Feb 9 22:11:03 GMT 2008
On Saturday 09 February 2008 22:39, Matt McCutchen wrote:
> On Sat, 2008-02-02 at 14:00 +0100, Jochen Reinwand wrote:
> > I applied the patch to rsync-3.0.0pre8 and rsync-HEAD-20080127-2251GMT,
> > but the new setup_iconv doesn't seem to work. Trying to connect with
> > parameter --iconv set, the daemon writes the following to the syslog and
> > closes the connection:
> > iconv_open("UTF-8", "iso8859-15") failed
> > rsync error: requested action not supported (code 4) at rsync.c(120)
> > [receiver=3.0.0pre8]
> > Without --iconv set everything is working fine!
> > Any idea what can be wrong? As client I used an openSUSE 10.2 system and
> > as server also an openSUSE 10.2 system and a Buffalo LinkStation running
> > openlink. It's the same for both systems.
> The error suggests a problem with the server's libiconv. Can you
> successfully translate some text with "iconv -f UTF-8 -t iso8859-15" on
> the server?
I already thought about that, but everything seems to work fine. I created a
file with some umlauts in UTF-8 and converted it:
$ iconv -f UTF-8 -t iso8859-15 -o test-iso-8859-15 test-utf8
No error message.
The files seem to be ok as well:
$ file test-*
test-iso-8859-15: ISO-8859 text
test-utf8: UTF-8 Unicode text
Is it possible that the libc is to old (libc-2.3.5.so)?
Once again thanks for your help!
More information about the rsync