PDA

View Full Version : rsync - transfer error with special filenames, different charset/language encoding



ohrobot
18th December 2007, 06:25 PM
i have a problem with rsync transfering filenames containing special german characters like ", , , ..."

when the transfer of these files start i get the following error-message

rsync: recv_generator: failed to stat "media/backup/Schaurig-sch\#366ne Balladen.mp3"
Invalid or incomplete multibyte or wide character (84)
i guess "\#366" is the utf8 equivalent to ""

my rsync command is

rsync -av --delete --progress ssh-login@server:/source /media/backupdestination/

my source is encoded "LANG=en_US.ISO8859-1" wheras my destination linux is "LANG=de_DE.UTF-8".
is this difference part of my problem?
is it possible to convert this character encoding into utf8 on the fly with rsync? / how could i rsync or download these files to my utf8 system, while preserving their language specific characters?

i am looking forward to every idea.
bernd