[Israel.pm] Processing Hebrew XML in Perl - Better Late than Never

Shlomi Fish shlomif at iglu.org.il
Thu Jan 22 09:41:43 PST 2004

On Thursday 22 January 2004 19:20, Shlomo Yona wrote:
> On Thu, 22 Jan 2004, Shlomi Fish wrote:
> > Well, seeing that Shlomo's presentation about processing Hebrew XML in
> > Perl is coming soon, I decided to get my act together and write the
> > mini-mini-howto on Hebrew XML in Perl:
> >
> > http://www.iglu.org.il/shlomif/hebrew-xml-in-perl/hebrew-xml-in-perl.html
> Well done.
> One question:
> You say that it is important to use the following line of code
> 	binmode O, ":utf8";
> but you dont explain what it does and why you need it.

OK, I will.

> It is more troubling that you state up front that you don't
> use UTF-8 (and that you decided to use iso-8859-8) but then
> you still use UTF-8.

I used ISO-8859-8 for the XML file that was input to the script. The output of 
the script (an HTML file) is in utf-8.

> Can you explain why?

I hope I did now.

> Thanks.
> P.S.
> Seeing that you did your Hebrew editing using KEdit, I
> wonder if you also tried to produce Hebrew text with niqqud.

I never tried using the niqqud editor.

> If you were able to do that successfully, I'd like to learn
> your system's settings, as on my Mandrake 9.1 it seems to be
> an impossible mission at the moment.


	Shlomi Fish

Shlomi Fish      shlomif at iglu.org.il
Homepage: http://t2.technion.ac.il/~shlomif/

I don't believe in fairies. Oops! A fairy died.
I don't believe in fairies. Oops! Another fairy died.

More information about the Perl mailing list