开发者

Is there a way to fix the code point too high problem in Perl Tk?

开发者 https://www.devze.com 2023-02-06 17:06 出处:网络
The following code demonstrates my problem. Running it gives me the error message that reads:\"UCS-2LE:code point \"\\x{20541}\" too high at C:/Perl/site/lib/Tk/Widget.pm line 205. at E:\\test.pl line

The following code demonstrates my problem. Running it gives me the error message that reads:"UCS-2LE:code point "\x{20541}" too high at C:/Perl/site/lib/Tk/Widget.pm line 205. at E:\test.pl line 9".

my Tk version is 804.028 and I'm running ActivePerl 10.0.0 on WinXP (Simplified Chinese version).

Does anyone know if there's a way around it? Thanks like always :)

use strict;use warnings;
use utf8;
use Tk;

my $mw = MainWindow->new;
my开发者_运维知识库 $text = "
0

精彩评论

暂无评论...
验证码 换一张
取 消