[Israel.pm] Re: Hebrew characters not displayed in perl Tk on Win XP
Gabor Szabo
gabor at perl.org.il
Thu Jul 8 07:17:10 PDT 2004
I tried what Moshe suggested and tried also to prnt a text in utf-8.
Both worked in Windows XP using the latest ActivePerl 5.8.4 build 810.
(I also tried the utf-8 version with some older Perl (5.8.3) and it did
not work).
Here is the code back (with te utf8 version too)
use Tk;
use encoding 'iso8859-8';
$string = "ùìåí";
#use utf8;
#$string = "××תר××ת";
my $top = MainWindow->new();
$top->Label(
-text => $string,
)->pack;
MainLoop;
More information about the Perl
mailing list