LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-29-2008, 08:21 AM   #1
don_wombat_73
Member
 
Registered: Sep 2005
Posts: 60

Rep: Reputation: 15
rsync: "Invalid or incomplete multibyte or wide character (84)"


I'm trying to sync up some files to an external drive. 99% of them are fine. But rsync does not like special or wide characters like a tilde above the n in jalapeno.

I can't seem to find an answer on this one. Anyone have any suggestions?
 
Old 08-29-2008, 09:00 AM   #2
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 66
Probably you're using a region-specific encoding (eg: in France we often use ISO-8859-1) and rsync is expecting UTF-8. In UTF-8 specification, as a security measure, it is considered a fatal error to meet a non-conforming character.

Yves.
 
Old 08-29-2008, 10:10 AM   #3
don_wombat_73
Member
 
Registered: Sep 2005
Posts: 60

Original Poster
Rep: Reputation: 15
I figured that it may be something like this.

So I'm wondering about my choices. I could rename the files, use a different encoding method, or tell rsync to ignore the error.

Are these correct thoughts?
 
Old 06-19-2009, 05:32 AM   #4
sorgud
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Rep: Reputation: 0
Quote:
Originally Posted by don_wombat_73 View Post
I figured that it may be something like this.

So I'm wondering about my choices. I could rename the files, use a different encoding method, or tell rsync to ignore the error.

Are these correct thoughts?
I have the same problem, even with the filenames in UTF-8, with a external disk.
If you want to convert file names in UTF-8

To convert file names in UTF-8 encoding, for example,
For changing from latin1 to utf8

convmv -f latin1 -t utf8 file_name
For really do it:
convmv -f latin1 -t utf8 file_name --notest
But as I said I have a problem with a external disk, that from some reason I can not figure out does not accept extended ASCII characters in filenames

talueguito
raul
 
Old 05-14-2013, 02:10 PM   #5
olafure
LQ Newbie
 
Registered: May 2013
Posts: 2

Rep: Reputation: Disabled
Since this is now almost 5 year old thread but still the top Google one it's time for an answer.

Use rsync's --iconv parameter. It will convert filenames on the fly, from the remote side to the destination.

--iconv=<local>,<remote> for example: --iconv=utf8,latin1

Filenames on the remote side are not affected.

But do realise that you are changing the encoding of the filenames. It might theoretically cause you problems (if they are referenced by other legacy programs/files).
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba/Kerberos : ads_connect: Invalid or incomplete multibyte or wide character Lordandmaker Linux - Networking 0 04-01-2008 05:03 AM
Mandrake 2006 + msec : Invalid or incomplete multibyte or wide caracter jmcollin92 Linux - Security 2 06-10-2006 06:33 AM
"Invalid or incomplete multibyte.." using cat textfile | mailx recipient@domain pargilo Linux - Software 0 04-01-2006 05:58 AM
glibc 2.3.5 "make check" invalid multibyte sequence sundialsvcs Linux - Software 8 09-09-2005 09:56 AM
Invalid or incomplete multibyte or wide character chanys Linux - General 1 03-13-2003 10:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration