[Israel.pm] Re: Hebrew characters not displayed in perl Tk on Win XP

Moshe Kaminsky kaminsky at math.huji.ac.il
Thu Jul 8 02:05:27 PDT 2004


Hi,

Try adding:

use encoding 'iso8859-8';

see perluniintro for the (confusing) details.

HTH,
Moshe

* Yehuda Berlinger <jon at actcom.co.il> [08/07/04 11:21]:
> > I have never used Tk.
> > If you can post your sample code, I can try see how to make
> > it output Hebrew.
> > Try and keep is small and simple.
> 
> OK. How about:
> 
> use Tk;
> $string = "שלום";
> my $top = MainWindow->new();
> $top->Label(
>      -text => $string,
> )->pack;
> 
> MainLoop;
> 
> _______________________________________________
> Perl mailing list
> Perl at perl.org.il
> http://perl.org.il/mailman/listinfo/perl
> 

-- 
I love deadlines. I like the whooshing sound they make as they fly by. 
                                        -- Douglas Adams
    
    Moshe Kaminsky <kaminsky at math.huji.ac.il>
    Home: 08-9456841
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://perl.org.il/pipermail/perl/attachments/20040708/c6770614/attachment.pgp 


More information about the Perl mailing list