pengo has asked for the wisdom of the Perl Monks concerning the following question:

Maybe this is not the right place to post this so forgive me.
I installed the Win::Gui 1.0 , so i made some programs with it and it works fine.

But i wanted to make some labels with Greek letters and it prints those chinese leters who nobody understands.
You know what i'm talking about, those !@#$%^&*().

When i program with perl i can print Greek letters, but when i use WIN32::Gui i can not, not in a label, not in a button text, not nowhere.
Not even when i try to create a button that when you press it, it trigers a sub that finds a path like c:\documents and settings\pengo\local settings\temp\a filename in greek letters.txt

when i put english letters it works fine, when i dont use win32::gui and i just make something like

print "something in greek letters \n";

it works fine.

Is there something i have to do to make it work, or is it something with the win32::gui module that i should know ( like it is not made for understanding and printing greek letters or something)?

I tryed using modules like Encode::Unicode, or utf8 and others, but nothing happend.

I really have to make this work, otherwise i have to do it in visual basic which i don't like .

You see i love perl but that module let me down.

Any help will be appreciated.

Replies are listed 'Best First'.
Re: win32::gui problem?
by PodMaster (Abbot) on Jan 18, 2005 at 09:49 UTC
    As it stands, I don't think you can. Your should try your luck at the perl-win32-gui-users mailing list.

    Wx, Tk, and Prima should be able to deal with unicode (that is if your perl and system can)

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

Re: win32::gui problem?
by sasikumar (Monk) on Jan 18, 2005 at 10:17 UTC
Re: win32::gui problem?
by bsdz (Friar) on Jan 18, 2005 at 15:04 UTC
    I don't think Win32::GUI supports Unicode quite yet. Also to get Unicode support on Windows title bars/icons/menus/message boxes/tool tips etc.. I believe you need to change the advanced appearance properties on Windows XP (rightclick Desktop/Properties/Appearance tab/Advanced button). Select the Item type (i.e. Menu) and change the font from "Tahoma" to "Lucida Sans Unicode".