Mike Fabian <[EMAIL PROTECTED]> writes: > Currently I use a simple script using 'iconv' to convert filenames in > legacy encodings to UTF-8 (attached). For example, if I have a > directory containing file with names in ISO-8859-1 encoding, I call > > mviconv -f ISO-8859-1 * > > and then all file names in that directory are UTF-8 encoded.
>> Good tolls will also be able to not convert a filename that already is >> a valid utf-8 sequence. > > My script doesn't yet do any fancy stuff like that, it is still very > primitive. Bruno Haible found a bug already: Bruno> it will fail if the user has filenames containing spaces, Bruno> and give warnings like "mv: `vm3' and `vm3' are the same file" Bruno's fixed version is attached.
mviconv
Description: Binary data
-- Mike Fabian <[EMAIL PROTECTED]> http://www.suse.de/~mfabian $B?gL2ITB-$O$$$$;E;v$NE($@!#(B
