2011/2/2 Shlomit Afgin <[email protected]>: > > > Hello, > > I tried to convert html special characters to their real character. > For example, converting ” to " . > > I had the string > $str = "“ test ” ניסיון "; > The string contain also Hebrew letters. >
Could Encode work on it?
use Encode;
$new = encode("iso-8859-1",decode("iso-8859-8",$str));
Regards.
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/
