Skip Menu |

This queue is for tickets about the Tk CPAN distribution.

Report information
The Basics
Id: 56294
Status: open
Priority: 0/
Queue: Tk

People
Owner: Nobody in particular
Requestors: mohsenaliiran [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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;
From: mohsenaliiran [...] yahoo.com
On Mon Apr 05 11:04:31 2010, mohsenali wrote: Can not someone help me to
On Mon Apr 05 11:04:31 2010, mohsenali wrote: Show quoted text
> 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.
Sorry, I don't know what CavaPackager is doing when creating an .exe. Maybe it arranges the packed files in a way Perl/Tk does not expect it, or not all required dependencies (e.g. Encode.pm) are not packed into the .exe. I suggest to ask the CavaPackager support. Regards, Slaven