On Mon, 23 Apr 2007 15:25:48 Hadar wrote: > > Thanks for the scripts! > If I understand you correctly, trns-heb-2-utf.sh is what I need. > When I tried it on a directory, it simply wiped down the Hebrew characters. > Here's some debugging info: > > + for DFL in '*' > + case "$DFL" in > ++ echo '01 - �§�£�¹�¥�÷ �®�¤�©�¸�§.ogg' > ++ tr '[�-�]' '[א-ת]' > ++ iconv -fhebrew -tutf8 > iconv: illegal input sequence at position 5 > > Looks like the input text is not iso-8859-8 (HEBREW) encoded. > I played with iconv a little but couldn't find the appropriate encoding > Any suggestion?
First Hadar - are you boy or a girl ? Good that you sent the list with the file name. It is encoded in UTF-8 but in latin1 not Hebrew (the song name is: Chadashot Meha-Yareach - News from the Moon, Right ?). You have to re-encode the file name to Hebrew UTF-8 like this: NEWNM=`echo "$NM" | iconv -futf8 -tlatin1 | iconv -fhebrew -tutf8` Ehud. -- Ehud Karni Tel: +972-3-7966-561 /"\ Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign Insurance agencies (USA) voice mail and X Against HTML Mail http://www.mvs.co.il FAX: 1-815-5509341 / \ GnuPG: 98EA398D <http://www.keyserver.net/> Better Safe Than Sorry ================================================================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]
