From: Oshri S. <osh...@gm...> - 2017-11-11 15:39:57
|
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! |