invalid enconding

Asked by Cristian

I used windows and have now converted to Ubuntu so I'm a noob. Anyhow, I use an extern HD where I have most of my stuff. When I'm checking the contents the archives are all there but many of them have after their name "invalid encoding". This seems to be the case with archives with names containing the Swedish vowels å,ä or ö (I live in Sweden). These letters have been replaced by some black "?"-symbol and, as I mentioned before, after the name it says "invalid encoding". It's a bit annoying, specially when I cannot open such files. I noticed that if I renamed those archives (replacing the "?"-bymbols with the right Swedish vowels and deleting the "invalid encoding"), made the archives work normally. However I don't want to have to rename all such files cause there are many...isn't there a way, maybe some kind of property that can be changed so that all such "invalid encoding" files get normal?
Appreciated

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu nautilus Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Thinboy00 (thinboy00) said :
#1

you might be able to use Thunar mass rename... Go to Applications -> Add/Remove and type "thunar" into the search box. Then check the "bulk rename" package. Now go to Applications -> Accessories -> Bulk rename. From there it's fairly self-explanatory. It may not be able to replace the swedish vowels, but it should strip off the "invalid encoding" message just fine. You may want to investigate other language packs as well: System -> Synaptic Package Manager, click "sections" in the lower right list of buttons (top item), and scroll through the list above the buttons until you find "Internationalization and localization" (not "Internationalization and localization (universe)"). From there, try to find a language pack. Double click something to mark/unmark it for installation/uninstallation; click the apply button in the toolbar to apply marked changes. That may or may not help...

Revision history for this message
Endolith (endolith) said :
#2

I have the same problem. I have an external drive with FAT32 encoding. It used to work fine with special characters, but I tried to access it from SSH today at work, and none of the special characters were working. Now when I access it locally it says "invalid encoding" after the file name. I am going to try running fsck on it.

Revision history for this message
Endolith (endolith) said :
#3

I see this online "FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!" So FAT can't accept special characters? But it has been able to in the past. My fstab says:

UUID=0000-0DAE /media/STORAGE vfat defaults,uid=1000 0 1

So maybe I need to add UTF-8 to the fstab?

Can you help with this problem?

Provide an answer of your own, or ask Cristian for more information if necessary.

To post a message you must log in.