Yakov Hrebtov wrote:
One more note here.
If CP1251 side is sending as client (UTF-8 is on server/receiver), then there are no errors.

$ rsync -av --iconv=CP1251,UTF-8 /var/data/tmp/ \ [EMAIL PROTECTED]::userdata/tmp/

This command successfuly transfers files and converts filenames.

It seems, server side cannot do any conversions...
As I understand, sender side converts filenames to UTF-8 from source charset,
and receiver side converts from UTF-8 (transport charset) to destination 
charset.
If charset on server side (no matter receiving or sending) differs from UTF-8
(so conversion to/from UTF-8 must be done), then it always failed to iconv_open
(for unknown reason).

The same iconv_open succseeded, if the same conversion must be done in
rsync-client.

--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to