file-name encoding problems
Posted
by
tenhouse
on Super User
See other posts from Super User
or by tenhouse
Published on 2012-11-05T21:56:29Z
Indexed on
2012/11/07
5:03 UTC
Read the original article
Hit count: 401
I googled over this topic but couldn't find what I was looking for... the following "happend" to me:
I had my files stored on a NTFS-USB Harddisk, because of space problems I moved them to an ext3 system....somehow the filename (content is still ok as far as I saw) encoding screwed up....my files look like the following now:
Kküken <--- should have an "ü"
Jäger <--- should be an "ä"
Zwölf <--- should be an "ö"
fünfte <-- should be an "ü"
etc ....
These are just examples, but already give me my first question Why has the "ü" two different representations? (Maybe I screw up, before I screw up and now I have a mixing of x different encoding-layers? :) )
I tried the following command:
convmv -r -f UTF-8 -t ISO-8859-1 *
This command work for some files (for example Zwölf
) but not for all:
iso-8859-1 doesn't cover all needed characters for: "fünfte"
So Iguess it must be another encoding - but which? How can I find out this?
And is there any way that I can still fix all of this?
© Super User or respective owner