Dear Gaal,
The audience is very limited. The print to STDOUT is mostly help. It is irritating but not crucial. Thank you for your help. I looked at it and it is promising, since it supposed to support UTF-8. However, to use it as a console to "localhost" requires a lot of work. I am also afraid that it will punch holes in the security of my box. I am not sure though about it since I am not a security "maven", but that is exactly why I am concerned. To summarize: too much bother for a not too important (for me, right now) issue. If things change I'll certainly look it up again! Thanks again, Meir _____ From: perl-boun...@perl.org.il [mailto:perl-boun...@perl.org.il] On Behalf Of Gaal Yahas Sent: Sunday, July 11, 2010 8:19 PM To: Perl in Israel Subject: Re: [Israel.pm] Hebrew in the command window In Linux, UTF-8 in the default locale has become more and more popular, and most terminal emulators support it. You should not see complete gibberish. But garbling and reverse text are not surprising. Some emulators bidi out of the box, and most don't. IIRC mlterm does. I haven't done this stuff on Windows in a while. Who is your audience? How much of your environment are you willing to fool around with? With some setup you can cook up a local PuTTY that talks to cygwin on localhost (I think you'll find info about this if you plug these three keywords into a search engine). PuTTY is by far a better terminal program than the DOS box, and even has bidi on some versions. You will want to control your codepage "translation" though. Hope this helps. On Sun, Jul 11, 2010 at 6:21 PM, Meir Guttman <m...@guttman.co.il> wrote: Thanks Erez! Well... shit! If anybody disagrees with Erez, I (and I am sure Erez too) will be glad to here about it... Regards meir -----Original Message----- From: perl-boun...@perl.org.il [mailto:perl-boun...@perl.org.il] On Behalf Of Erez Schatz Sent: Sunday, July 11, 2010 6:06 PM To: Perl in Israel Subject: Re: [Israel.pm] Hebrew in the command window On 11 July 2010 17:55, Meir Guttman <m...@guttman.co.il> wrote: > Hello all "Lushen Koidesh" speakers! > > > > 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!) It's a known issue with terminals, in both Windows and Linux. The usual spiel is that Hebrew/BiDi support will break too many tools and apps to be considered. > > There is a PowerShell command shell from the same esteemed corporation. Was > anybody successful in using it to display Hebrew? PowerShell (at least, version 1 of it, which I have) uses Windows Terminal for UI (the window menu is the same as the "cmd" one). So no joy there as well. -- Erez Observations, not opinions _______________________________________________ Perl mailing list Perl@perl.org.il http://mail.perl.org.il/mailman/listinfo/perl _______________________________________________ Perl mailing list Perl@perl.org.il http://mail.perl.org.il/mailman/listinfo/perl -- Gaal Yahas <g...@forum2.org> http://gaal.livejournal.com/ No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.830 / Virus Database: 271.1.1/2995 - Release Date: 07/11/10 09:36:00
_______________________________________________ Perl mailing list Perl@perl.org.il http://mail.perl.org.il/mailman/listinfo/perl