Re: How to display chinese character



Handsome Huang wrote:
Now, I am using gtk2-perl for windows to develop some program. But I can not
display chinese character in my program. The following is a testing program,
If I change the  red character to chinese character, it can not display
correctly, who can tell me why?

Hmm. Perl-gtk2 uses utf8 in its encoding. So maybe try decode('yourcharset', $string)?




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]