On Tue, 24 Apr 2007 11:56:38 +0300, יובל האגר wrote: > > Ehud Karni: נכתב על ידי ,15:46 ,2007 אפריל 23 ביום שני: > > > You have to re-encode the file name to Hebrew UTF-8 like this: > > > > NEWNM=`echo "$NM" | iconv -futf8 -tlatin1 | iconv -fhebrew -tutf8` > > > > Thanks! I've been looking for some time how to do this.. I didn't think there > could even be a latin1/hebrew in a UTF-8 encoding.. > > Anyway, that solves my problem too with file names, but how should I handle > ID3 tags?
You can use the id3lib package ( http://sourceforge.net/projects/id3lib/ ) to extract the "should be" Hebrew names, try to convert it using something like the command above, and, if successful, replace the original names. You can then write a script that will do it to all your songs. I'm sure you can get this package for any Linux distribution. But also read this: https://bugs.launchpad.net/debian/+source/id3lib3.8.3/+bug/54136 There are other (using simpler tools) ways to extract the tag and replace it but you'll have to do it with your own scripts. Ehud. -- @@@@@@ @@@ @@@@@@ @ @ Ehud Karni אהוד קרני @ @ @ @@ @ Senior System Support תמיכה במערכות מחשב @ @ @ @ @ @@ Mivtach - Simon מבטח - סימון @ @ @ @ @ @ Insurance agencies סוכנויות לבטוח Better Safe Than Sorry Tel: 03-7966-561 :טל Fax: 03-7966-667 :פקס http://www.mvs.co.il mailto:[EMAIL PROTECTED] :דו"אל ================================================================To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
