Is your DOS shell Unicode-aware? You could try the multi-arg form of system to avoid any shell processing of the arguments:
my $status = system( 'ss.exe', 'history', $line_var )I don't know much about Windows though.
In reply to Re: different DOS/perl encoding
by chromatic
in thread DOS coding compatibility with perl "é"->"'"
by blanchon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |