diff --git a/src/PVE/Tools.pm b/src/PVE/Tools.pm index bd305bd..cf86a0e 100644 --- a/src/PVE/Tools.pm +++ b/src/PVE/Tools.pm @@ -3,6 +3,10 @@ package PVE::Tools; use strict; use warnings; +use open qw(:std :utf8); +use Encode qw(decode_utf8); +@ARGV = map { decode_utf8($_, 1) } @ARGV; + use Date::Format qw(time2str); use Digest::MD5; use Digest::SHA;