After Didi gave me the solution for the encoding problem with unzip I decided 
to write a script for converting the filenames (Maybe I'll patch unzip in the 
future but that's my temporary solution).

The script I wrote just change the filenames and directories names using 
iconv, but if it tries to handle an already iso8859-8 encoded filename iconv 
gives an error (The validity check fails, it expects the input string to be 
encoded as iso8859-1 but it is not).
Is there any standard unix tool I can use to first check the string's encoding 
and then decide whether to convert it or not?

Thanks,
 -Amir.

=================================================================
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]

Reply via email to