Hi Meir. Meir Guttman wrote: > The problem I have is when I "print" Hebrew to the STDOUT device. It is > shown as "gibberish." (BTW, re-directing it to a file and opening it in > a UTF-8 compatible editor shows the Hebrew fine, thank you!)
The DOS box is not unicode-aware. so you need to convert the text to hebrew 8-bit encoding before printing it out. try to convert it (decode) to "iso-8859-8" or "cp865", or, if these two doesn't work, try "cp1255". Of course, you need to make sure that your terminal is loaded with hebrew-capable fonts. I would advise to first write a small program that print a nice table, with all the characters above 30. you should see hebrew letters in there, or you need to change the font. In addition, it will give you a clue which code page you need to use. Indexed by the 'Alef' position: 128 - cp865 224 - iso-8859-8 Have fun. Shmuel. _______________________________________________ Perl mailing list [email protected] http://mail.perl.org.il/mailman/listinfo/perl
