|Perl: the Markov chain saw|
Re^3: How can I get a Unicode @ARGV?by Anonymous Monk
|on Aug 31, 2012 at 08:27 UTC||Need Help??|
Yes. it turns into question marks.... I think it's too late to chcp too.
:) That wasn't a question, I was quoting the line I was responding to :)
But I totally missed the drag/drop thing
So you're seeing "??????" in the console? What is Data::Dumper output?
I imagine using Win32::Unicode::Native ought to work, but if it doesn't, these two might
Win32::CommandLine - Retrieve and reparse the Win32 command line
update: it probably won't, no mention of unicode/wchar or GetCommandLineW
Win32::Process::CommandLine - Perl extension for getting win32 process command line parameters
But if they don't, then I think recompiling perl ( runperl.c ) with wmain ought to work, but then that might be tough to manage with with perlapp/cava, though it wouldn't surprise me if this step isn't necessary
But, you know :) you could always compile a foo.exe which uses wmain and calls your perlapp packed perl.exe with -CSD or whatever :)