[Israel.pm] Telling encoding of a string

Shahar Evron shahar at mattat.co.il
Tue Jan 27 11:27:51 PST 2004


Is there any efficient way of checking weather a hebrew string is in 
UTF-8 or some other encoding?

I need to convert a series of Hebrew strings to unicode, but some of the 
strings are UTF-8 and some are ISO-8859-8 or cp1255 - ofcourse I don't 
want to convert the strings already in UTF-8.

Thanks,
Shahar Evron.



More information about the Perl mailing list