Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: How to display unicode charset in Win32::GUI?

by vkon (Deacon)
on Feb 17, 2011 at 09:12 UTC ( #888669=note: print w/ replies, xml ) Need Help??


in reply to Re^2: How to display unicode charset in Win32::GUI?
in thread How to display unicode charset in Win32::GUI?

well,
after looking closer into that module - I realized that it is indeed insensitive to unicode,
and this is not what we're expecting nowadays.

Maybe you just need to apply for developers and supporters?

SUPPORT Homepage: http://sourceforge.net/projects/perl-win32-gui/ For further support join the users mailing list(perl-win32-gui-users@lists.sourceforge.net) from the website +at http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users. There is a searchable list archive at http://sourceforge.net/mail/?group_id=16572
And better yet - switch to Tcl/Tk GUI - it allows unicode reasonably well.


Comment on Re^3: How to display unicode charset in Win32::GUI?
Download Code
Re^4: How to display unicode charset in Win32::GUI?
by Anonymous Monk on Feb 17, 2011 at 09:22 UTC
    And better yet - switch to Tcl/Tk GUI - it allows unicode reasonably well.

    So does Wx :)

      ... and Gtk2 :)

        Thank you very much for taking the time.

        Test logs...

        wxPerl

        ..
        $self->{label_1} = Wx::StaticText->new($self, -1, "\x{442}\x{44C}\x{438}\x{43B}\x{43F}\x{43E}\x{440}\x{449}\x{43D}\x{435}", wxDefaultPosition, wxDefaultSize, );
        ..

        Tested on Win 7 and xp pro and displayed russian charset; no problem.

        Perl/Tk

        ..
        -text => "\x{442}\x{44C}\x{438}\x{43B}\x{43F}\x{43E}\x{440}\x{449}\x{43D}\x{435}",
        ..

        Tested on Win 7 and xp pro. Auto text encoder good! and display russian charset; no problem.

        Gtk2

        ..
        my $label = Gtk2::Label->new ('ьиьиьиьиь:');
        ..

        Tested on Win xp pro (not installed gtk2 module on win 7 os) and no encoder! Display directly russian charset; no problem.

        But;

        My OS win platform :) and supported perl module Win32::GUI

        A very stupid situation. :/

        I've read at least 30 documents and tried many encode/decode modules but didn't.

        The whole project written with Win32::GUI module.Can not change the "win32-gui" module with others!

        My Ideas...

        Did i use a different module? :)

        The current project consists of 15.000 lines. Rewrite project with other perl GUI module? :)

        OR

        Can i use a combination of 2 modules?

        Ex: Win32::GUI and wxPerl(Label) module combination....?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://888669]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2014-12-19 00:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (69 votes), past polls