in reply to Non asci character and system call
use strict; use utf8; use Encode 'encode'; my $commandline = qq{start "" "$DocumentPath.pdf"}; system( encode 'CP1251', $commandline ) == 0 or die encode 'CP866', qq{Couldn't launch '$commandline': $!/$?};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Non asci character and system call
by Anonymous Monk on Nov 09, 2017 at 07:46 UTC | |
by vr (Curate) on Nov 09, 2017 at 10:05 UTC |