rsync-3.0.0pre10 and iconv

Wayne Davison wayned at
Wed Feb 27 15:11:19 GMT 2008

On Tue, Feb 26, 2008 at 02:14:34PM +0200, sami.pitko at wrote:
> Has anyone got iso8859-1 to utf-8 conversion working with rsync-3.0.0pre10?

It was failing when communicating with a daemon due to a missing
setup_iconv() call.  The attached patch fixes this.  Thanks for
your report!

-------------- next part --------------
--- clientserver.c
+++ clientserver.c
@@ -120,6 +120,10 @@ int start_socket_client(char *host, int remote_argc, char *remote_argv[],
 	set_socket_options(fd, sockopts);
+	setup_iconv();
 	ret = start_inband_exchange(fd, fd, user, remote_argc, remote_argv);
 	return ret ? ret : client_run(fd, fd, -1, argc, argv);

More information about the rsync mailing list