Thank you very much all.

@moritz : I tried hard to Encode qw/encode decode/ module but didn't.

Here is my codes.

Reminder:

Installed language packets in my OS : English, Turkish

Turkish charset testing : ç
use warnings; use strict; use Win32::GUI(); use Data::Dumper; use Encode qw/decode/; my $str = "ç"; # This is "turkish" charset "ç" $str = decode("utf-8", $str); # decoding "ç" char with utf-8 print Dumper($str); # And "ç" char dumped, output : \x{e7} my $win = new Win32::GUI::Window( -name => "win", -text => "Unicode Test", -width => 300, -height => 200 ); $win->AddLabel( -name => "labeun", -text => "\x{e7}", # <--- Write here hex code char "\x{e7}" # and look at the results. Displaying label text "ç +". No problem. -width => 50, -height => 20 ); $win->Center(); $win->Show(); Win32::GUI::Dialog(); 1;

I tried ucs2 encoding but didn't and.
Example : Russian charset ф
$rchar = ф
use warnings; use strict; use Win32::GUI(); use Encode qw/encode decode/; use Data::Dumper; my $str = "$rchar"; # This is "russian" charset. * a == $rchar * my $utf8 = decode("utf-8", $str); # decoding "$rchar" char with utf-8 my $ucs2 = encode("UCS-2LE",$utf8); # and encoding char with UCS-2LE.Others have tried.! # Other encoding schemes : UCS-2BE, UCS-2LE, UTF-16, # UTF-16BE, UTF-16LE, UTF-32, UTF-32BE, UTF-32LE my $win = new Win32::GUI::Window( -name => "win", -text => "Unicode Test", -width => 300, -height => 200 ); $win->AddLabel( -name => "labeun", -text => "$ucs2", # <--- Writing here encoding char.Displaying label t +ext "unkown". FAIL -width => 50, -height => 20 ); $win->Center(); $win->Show(); Win32::GUI::Dialog(); 1;

[idea]

My OS needed the Russian language package?

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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.