Hello Anonymous Monk,
I do not have a WindowsOS to test your code, but I tried it on a LinuxOS that I am having and seems to work with my pdf viewer (okular). Try something like that:
#!/usr/bin/perl
use utf8;
use strict;
use warnings;
use open ':std', ':encoding(UTF-8)';
my $commandline = qq{start "" /max "c:\сервис.pdf"}; # full screen
system($commandline) == 0
or die qq{Couldn't launch '$commandline': $!/$?};
I think you have not defined correctly the path. Let us know if it worked.
BR / Thanos
In reply to Re: Non asci character and system call
by thanos1983
in thread Non asci character and system call
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |