How to show the utf8 character?
- From: Lich Lee <a_banknote yahoo com cn>
- To: gtk-perl-list gnome org
- Subject: How to show the utf8 character?
- Date: Wed, 4 Aug 2004 17:03:51 +0800 (CST)
I tried to use:
$entry -> set_text("中文");
"中文" is chinese character, I don't kown if your
computers support.
I couldn't set text to chinese. It showed me some
troubled code but I could read chinese by $entry ->
get_text() to a varirable, and print it to the shell
where everything looks well.
I've tried
use Encode;
$entry -> set_text(encode('utf8', "中文"));
Doesn't work;
so, ask for help.
thx alot.
_________________________________________________________
Do You Yahoo!?
美女明星应有尽有,"一搜"搜遍美图、艳图和酷图
http://image.yisou.com
100兆邮箱够不够用?雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/100m/*http://cn.promo.yahoo.com/minisite/100m/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]