Subject: | Problem with Entry() when program convert to standalone ( .exe) file |
Hi
I use Entry() and read data from database and show in it with utf8
charachters correctly ,and program work correctly even when convert to
.exe .
But , When I convert program to standalone ( .exe ) with CavaPackager
and want to Write or type in Entry() with utf8 charachters (persian) ,
Instead Of utf8 character ,Unkonw charachter typeing in Entry().
Why?
Please help me.
Subject: | azansinformation.pl |
#!C:/strawberry/perl/bin/perl.exe
use Tk;
use Tk::Font;
use Encode;
use utf8;
my $mw = MainWindow->new(-background=>"gray");
$mw->title("header");
$mw->maxsize(200,115);
$mw->minsize(200,115);
my $name = decode('utf8',encode('utf8','Ù
ØسÙ'));
$mw->Entry(-font => "Tahoma 13 normal",-justify =>'right',-relief =>'groove',-textvariable => \$name)->place(-x =>10,-y=>15);
MainLoop;