In perl I'm using this code to call the shellabout dialog using win32::api:
my $shellAbout = Win32::API->new('Shell32', 'int ShellAboutA(HWND hWnd, LPCTSTR szApp, LPCTSTR szOtherStuff, HICON hIcon)');
$shellAbout->Call (0, 'perl-reguser', 'Editor del registro de usuario', 0);
The above works as expected, but when I try to use the unicode version of shellabout:
my $shellAbout = Win32::API->new('Shell32', 'int ShellAboutW(HWND hWnd, LPCTSTR szApp, LPCTSTR szOtherStuff, HICON hIcon)');
$shellAbout->Call (0, 'perl-reguser', 'Editor del registro de usuario', 0);
The strings are not displayed. I have the following declared:
use utf8;
use Encode;
# ..
binmode (STDOUT, ":encoding(utf8)");
any ideas?