Converting all files to UTF-8 ?
Philip
p.vassar at comcast.net
Tue Dec 28 06:00:38 UTC 2004
He really wants an MP3 utility to convert his tag data to UTF-8. I'm
unconvinced that UTF-8 or any text encoding has a thing to do with his CD
burning problems. Data is Data is Data it goes on to a CD bit by bit or byte
by byte depending on how you want to call it.
----- Original Message -----
From: "Klaus Alexander Seistrup" <kseistrup at gmail.com>
To: "Ubuntu Users" <ubuntu-users at lists.ubuntu.com>
Sent: Monday, December 27, 2004 9:33 PM
Subject: Re: Converting all files to UTF-8 ?
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
$
So a binary file will get "out of sync" when some of the bytes are
expanded from one to two bytes.
On Tue, 28 Dec 2004 04:15:58 +0100, Vincent Trouilliez
<vincent.trouilliez at wanadoo.fr> wrote:
> Trying to get my CD burner today, revealed that the system doesn't quite
> like running UTF-8 (switched recently) when the files are still using
> the previous format (whatever that was, don't have a clue)
>
> So, I am would like to convert all my file names to UTF-8 so that,
> hopefully, everything will go smoothly afterwards.
>
> I read recently on this list about "iconv". I read the man page, then
> tried it a single file, like this:
>
> 'iconv -t UTF-8 filename'
>
> But it returns the error : "Illegal escape sequence at position 0".
> It's translater from French, so please feel free to interpret it so
> that, hopefully, it means something. ;-)
> I tried that on several mp3 files and it keeps returning that error.
>
> Any idea ? Or any other prgram I could use, to convert the thousand
> files in my /home partition ???
--
Klaus Alexander Seistrup
SubZeroNet · Copenhagen · Denmark
--
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.298 / Virus Database: 265.6.5 - Release Date: 12/26/04
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.298 / Virus Database: 265.6.5 - Release Date: 12/26/04
More information about the ubuntu-users
mailing list