agentsmith Wrote:
> Sure, I tried a file named "è'tormento.flac" (no quote)
> What I meant was, I couldn't tell exactly what bunch of bits is
representing the
agentsmith Wrote:
> "è"in your filename.
So, I'm flying blind here. You might try this, which will not do
anything destructive:
use File::Find;
use Encode;
find sub {($newname = decode("iso-8859-1", $_)) =~
s/\P{IsASCII}//g &&
print "$_ would become $newname\n"
}, "your_directory_here";
This will just print out a list of proposed renamings. Let me know
what happens. If it's to your liking, you can make the corresponding
change to the other script and actually rename the files.
--
tom permutt
------------------------------------------------------------------------
tom permutt's Profile: http://forums.slimdevices.com/member.php?userid=1893
View this thread: http://forums.slimdevices.com/showthread.php?t=22689
_______________________________________________
Discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss