in reply to PerlApp and Win32::Unicode
I am not at a system where I can even try to replicate your problem. However, I suggest that you add additional use statements: use Win32; and use Win32::Unicode; above what you have now. Give that a go and let us know what happens.
In Section
Seekers of Perl Wisdom