[Israel.pm] Converting this "àìãø " into "????" using Encode.pm problem

Eitan Keren eitan_keren at hotmail.com
Wed Jan 14 13:58:31 PST 2004


Hey,

I am experimenting allot of troubles getting Hebrew data from my MySql DB and presenting it in its right format, instead I am getting some weird characters.
I have tried to do :
    my $octets = encode("cp-1255", $string);
OR
    $string = decode("cp-1255", $string);
But nothing readable come out from it.

Will be glad to get any kind of help in the subject (a piece of code will be great).
10x,
//Eitan


More information about the Perl mailing list