Hi, I have a Qnap NAS-219 used for storage, i have a Ubuntu 9.04 server for backup. When rsync between them filenames containing ? have problemes, the danish chars ? ? does not have any problems eventhough its a special char like ? ? ?. The log files state following: file has vanished: "/M?deskabelon.doc" where ? should be ?, and the file is stil at the system, so its not vanished. The charset on NAS is: en_US.UTF-8 And backup-server is: en_DK.UTF-8 I know there is a difference but in the starting wizard at the nas, it was the recommended charset used for danish language files. And the problem had been more understandable if the charset was like: The charset on NAS is: en_DK.UTF-8 And backup-server is: en_US.UTF-8 then the backup-server should not understand danish special chars like ? ? ?. Hope someone can help me or give me a hint. Best regards Tomas
Hi Tomas> file has vanished: "/M?deskabelon.doc"I have had a similar problem, where the source file was not in the correct encoding (used on the source). So in my case, the filename on the source contained chars that was not properly encoded in the source machine's encoding. (This was a Windows server). I don't know if this is the same situation, you are in. Have you tried creating a new file on the source with a filename containing '?'? Med venlig hilsen/Kind regards Thomas Damgaard Nielsen http://thomasdamgaard.dk
Tomas Norre Mikkelsen (tnm.pohl at gmail.com) wrote on 17 September 2009 09:31: >I have a Qnap NAS-219 used for storage, i have a Ubuntu 9.04 server >for backup. When rsync between them filenames containing ? have >problemes, the danish chars ? ? does not have any problems eventhough >its a special char like ? ? ?. > >The log files state following: > >file has vanished: "/M?deskabelon.doc" > >where ? should be ?, and the file is stil at the system, so its not vanished. > >The charset on NAS is: en_US.UTF-8 >And backup-server is: en_DK.UTF-8 > >I know there is a difference but in the starting wizard at the nas, it >was the recommended charset used for danish language files. > >And the problem had been more understandable if the charset was like: > >The charset on NAS is: en_DK.UTF-8 >And backup-server is: en_US.UTF-8 > >then the backup-server should not understand danish special chars like ? ? ?. If you're only doing backups and don't intend to access the copies often, you could just ignore any charset/locale/i18n issue and use only plain C locale. No iconv anywhere, etc. Use the same settings at both sides of course, so that neither the sender nor the receiver tries to do any translation. I use --no-8-bit-output --no-iconv.
Maybe Matching Threads
- Strange result from sort: sort(c("aa", "ff")) gives "ff" "aa" with R.2.12.1 on windows 7
- danish characters - installing R - linux redhat 8.0
- rsync fails with "Permission denied" errors on random files over NFS
- Spurious warning when calling data() ?
- Special Characters on wine