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

... and Gtk2 :)
  • Comment on Re^5: How to display unicode charset in Win32::GUI?

Replies are listed 'Best First'.
Re^6: How to display unicode charset in Win32::GUI?
by Anonymous Monk on Feb 17, 2011 at 13:38 UTC

    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....?

      15000 lines... this is much...

      Actually fixing Win32::GUI seems more sane, due to your code base.

      No, mixing Wx and Win32::GUI does not sound possible to me
      again, let's suppose that your codebase is too large to change GUI.

      I would advise to contact developers of Win32::GUI to help you.
      actually it is even possible to hack a small helper module that will fix your problem.

      maybe you could donate some small amount of money to developers of that module so they will provide a normal fix of their module?

        No, mixing Wx and Win32::GUI does not sound possible to me

        It is trivial, but its also a pita

        Actually this project finished ~30.000 lines but this problem stoped project in
        15.000 th lines. Yes it is trivial.Don't know. Everything is possible in this
        programmer world ... why not? Isn't absurd and None not standart(Win32::GUI wxPerl etc.)
        modules. Rewritable... Opensource world.

        @vkon: actually it is even possible to hack a small helper module that will fix your problem.
        Yes, do not have to give up.
        Searching and writing...

        @vkon: maybe you could donate some small amount of money to developers of that module so they will provide a normal fix of their module?
        Oohh no, donate and help? i send $10 and all problems fixed :). A little ridiculous.Such as the bribery. :)

        I sent an e-mail to the developers about this issue.Now waiting answer but i'm searching...

        Thank you very much all.
        Regards.