You are not logged in.

#1 2009-01-20 01:19:08

manouchk
Member
Registered: 2008-07-29
Posts: 306

[solved] repairing filename encoding (solved)

Hi,

I've quite a lot of problem due to filename encoding. A lot of file are not well encoded, caracters are not well displayed and consequently many software fail to use this kind of file. I'm really lost and I'd like to know if there is a tool in order to correct this kind of problem?

Is there a way to guess or try to find the charset encoding?
If not how can I manually find all files with a charset encoding problem in a partition in order to try to manually fix this filenames?

Last edited by manouchk (2009-05-23 06:27:38)

Offline

#2 2009-01-20 09:31:31

TheBodziO
Member
From: Dukla, Poland
Registered: 2006-07-28
Posts: 230
Website

Re: [solved] repairing filename encoding (solved)

What is mentioned partition type and your locale? Also, are you speaking about "wrong encoding" in x or console?

Last edited by TheBodziO (2009-01-20 09:32:55)


It's not the best thing when they call you a "member" you know… wink

Offline

#3 2009-01-20 12:44:29

schuay
Package Maintainer (PM)
From: Austria
Registered: 2008-08-19
Posts: 564

Re: [solved] repairing filename encoding (solved)

Offline

#4 2009-01-20 21:30:44

michalm
Member
From: Kraków, Poland
Registered: 2007-10-11
Posts: 3

Re: [solved] repairing filename encoding (solved)

You can use convmv tool to convert a set of file names from one encoding to another.

Offline

#5 2009-05-10 18:49:56

manouchk
Member
Registered: 2008-07-29
Posts: 306

Re: [solved] repairing filename encoding (solved)

I'm solving now using convmv and detox to get rid of the non-ascii caracters!

It seems I solved my problems running succesvely:
convmv -f iso-8859-1 -t utf8 --replace --notest -r ~/Documents/*
convmv -f utf8 -t iso-8859-1 --fixdouble --replace --notest -r  ~/Documents/*
detox -s utf_8 -r  ~/Documents

I may be safer not to aply on ~ but on its subdirectories, avoiding for example to modify the .Mail directory!

In fact I made a test on a small directory and then on my backup to check-up things have gone well, and finally I did the modification on my main HD!:D

Last edited by manouchk (2009-05-10 18:58:43)

Offline

Board footer

Powered by FluxBB