Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 781  / 2 Years ago, mon, october 10, 2022, 11:17:12

I tried to sync from local to Ubuntu One files with filenames such 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 these filenames and nautilus is shutting down the local file browser 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?


More From » sync

 Answers
6

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 altogether. 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


[#43899] Tuesday, October 11, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
urvedcaly

Total Points: 171
Total Questions: 118
Total Answers: 124

Location: Cape Verde
Member since Fri, Nov 27, 2020
4 Years ago
;