Re: can't display chinese in the text box??
- From: muppet <scott asofyet org>
- To: liu <sysa vipci com>
- Cc: gtk-perl-list gnome org
- Subject: Re: can't display chinese in the text box??
- Date: Mon, 24 Nov 2003 09:29:52 -0500
On Friday, November 21, 2003, at 02:56 PM, liu wrote:
in this demo,i can't input chinese in the popup windows's text box?
is this gtk2-perl can not support chinese display ?
....
$entry = Gtk2::Entry->new;
$entry->set_activates_default (1);
$entry->signal_connect ('insert-text' => sub {
you are filtering everything you type into the entry through a perl
callback, the handler for the Entry's "insert-text" signal.
if you remove this callback, can you type correctly?
if so, then the problem lies in encodings and utf8 issues with the
bindings which should be solvable, but which i do not know how to
solve. (anyone?)
if the problem persists in the absence of the text-filtering perl
callback, then the problem is probably not with the bindings.
--
muppet <scott at asofyet dot org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]