Converting all files to UTF-8 ?

Vincent Trouilliez vincent.trouilliez at wanadoo.fr
Tue Dec 28 18:59:50 UTC 2004


> Perhaps I'm wrong, but you will probably be unable to convert "binary"
> files like MP3s to UTF-8.  Text files shoud be ok, though.
> 
> The reason for this is that some characters in ISO-8859-1 (which is
> probably your old charset) takes up two bytes in UTF-8:
> 
> $ echo 'brûlée' | iconv -f iso-8859-1 -t utf-8
> brûlée
> $ 


Yes, that's exactly how the names of some of my mp3 files look
like !!! :o(((

However I have only very files that look like this. So if I rename them
by hand, then is it safe to mass convert all other files with iconv ??

Vince






More information about the ubuntu-users mailing list