[Israel.pm] Re: Hebrew characters not displayed in perl Tk on Win XP
Shlomo Yona
shlomo at cs.haifa.ac.il
Thu Jul 8 04:11:43 PDT 2004
On Thu, 8 Jul 2004, Yehuda Berlinger wrote:
> use Tk;
> $string = "????";
> my $top = MainWindow->new();
> $top->Label(
> -text => $string,
> )->pack;
>
> MainLoop;
No Pronlem:
use Tk;
use utf8;
my $string = "???? ????!"; # "hello world!" in Hebrew encoded in utf8
my $top = MainWindow->new();
$top->Label(
-text => $string,
)->pack;
MainLoop;
Works great.... just that there is no bidi...
--
Shlomo Yona
shlomo at cs.haifa.ac.il
http://cs.haifa.ac.il/~shlomo/
More information about the Perl
mailing list