Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried to sync from local to ubuntu one files with filenames as:

"176 - Deutsche Geschichte - Ein Versuch Vol 05-Von der Revolution bis zum Drei�igj�hrigen Krieg - 01.mp3 (ungültige Kodierung)"

Ubuntu one sync breaks on this filenames and nautilus is shutting down the local filebrowser window by itself.

Are these Filenames too long for Ubuntu one? Or is it the (ungültige Kodierung) (mis encoded) at the end of the file?

share|improve this question
up vote 3 down vote accepted

The problem

German umlauts ä,ö,ü and UTF-8 encoding are the problem here. Most likely you copied the files from a windows system (using ISO-8859-1 encoding) to a linux system (using UTF-8). A computer can only store bits. The mapping of a combination of bits to a real character a human can read is called the encoding. E.g. using UTF-8 the letter a is encoded as 01100001. For umlauts those bit sequences differ in the two encodings, so a UTF-8 system displays another character or doesn't know the bit sequence alltogether. That's the whole problem.

The solution

With the shell program convmv Install convmv / sudo apt-get install convmv you can rename files with broken umlauts to their correct UTF-8 charset. Usage:

convmv --notest -r -f ISO8859-1 -t UTF-8 <Verzeichnisname

Run that on your files after installing convmv by clicking on the Software Center icon above or using the shell command provided next to it. Then try syncing again.

Good luck on sharing German history! :D

share|improve this answer
Ok, youre right. The encodings were the problem not the filename size. Converted to utf-8 the upload works well. I think we need some error messages for ubuntu one. Sadly, i´ve probably choosen the wrong sourceencoding for convmv, so the umlaute are still not readable. But its detected as utf-8 so everything works well. – MattscheAN Aug 12 '11 at 16:00
Excellent answer con-f-use ! – Rinzwind Aug 12 '11 at 17:35
Thanks at @Rinzwind. At MattscheAN Windows is known to use either ISO-8859-1, ISO-8859-15 or Windows-1252 for European versions. – con-f-use Aug 12 '11 at 18:14

You can also revert the conversion by calling convmv the other way round. Then you can look for the correct charset, try cp850.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.