[Israel.pm] Hebrew recoding (was: No subject)

Eli Billauer eli at billauer.co.il
Sun Jun 17 06:35:47 PDT 2007


I would suggest the following steps:

1. Make sure that you have a fairly updated version of Perl, which has 
the Encode module. In other words,

perl -e "use Encode;"

should do nothing (in particular, not complain that the module wasn't found)

2. Decide what you want to do: What the source coding is (UTF-8?) and 
the destination (windows-1255?)

3. Do "man Encode" to read the manual page for the module. It pretty 
much explains everything.

Good luck,

Ernst, Yehuda wrote:

>I have a text in Unicode like this
>×-×¥ השרון 
>how do i convert it to Hebrew ASCII (string) so i can pass it as a parameter in my perl code?
>Yehuda Ernst                        יהודה ארנסט
>NDS Technologies Israel Ltd. mailto:yernst at nds.com>
>Jerusalem          Tel:  +972 (2) 589-4427
>PO Box 23012    Fax: +972 (2) 589-4825
>Israel.    91235    Cell  +972 54 5664427

Web: http://www.billauer.co.il

More information about the Perl mailing list