Hello,

I'm trying to display utf8 characters on a window, using *AddTextfield*.
The English characters are displayed ok, but the special characters appear
as "Gibberish".

Printing the same characters in Windows 10 CMD works fine.

I'm using now the following:

utf8::decode($contact_name);
binmode(STDOUT, ":utf8");

These 2 lines allowed me to print utf8 to CMD, but for some reason it
doesn't work with win32::GUI window.

I have also tried the following, which didn't work (found them in a forum):

use Win32::Console;
Win32::Console::OutputCP(65001);


Any help is appreciated!
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
http://perl-win32-gui.sourceforge.net/

Reply via email to