
regexp
New User
Aug 27, 2004, 4:16 AM
Post #1 of 1
(3071 views)
|
|
Tk+ Cyrillic fonts. Why Tk does not see them on XP?
|
Can't Post
|
|
Hi! my name is Alexey and I use Perl and Tk to start some windows dialogs. Recently I have found one bug: on Windows XP, it seems, Tk does not see RUSSIAN (Cyrillic) symbols, in other hand on Windows NT it's ok, and on some XP stations it's ok too. The sample code is: ------------------- use Tk; use Tk::FileSelect; use Tk::ROText; $main = MainWindow->new; $main->title('My Application'); $main->geometry('500x500'); $main->Button(-text => 'some cyrillic text', -command => sub{choose_file()} )->pack; $main->Button(-text => 'some cyrillic text', -command => [$main => 'destroy'] )->pack; MainLoop; --------------------- The text noted as 'some cyrillic text' is not seen rightly. And also when I use file select, the files with cyrilic names are not showed corect in dialog window (I have some weird symbols instead) Thanks a head of time. Alexey Regular Expert
|