X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fdbupgrade2_tool.pl;h=ba13e3f70ffefe88857effdd3af9ddef76e8a29b;hb=8dd087bfc7c8947308b170c666682f6dec1ea30d;hp=f4a7bb7e76ba4aef6a6644e39358f99bbf4e8764;hpb=4780fc8426841be0838551dea12d8329f32ef65e;p=kivitendo-erp.git diff --git a/scripts/dbupgrade2_tool.pl b/scripts/dbupgrade2_tool.pl index f4a7bb7e7..ba13e3f70 100755 --- a/scripts/dbupgrade2_tool.pl +++ b/scripts/dbupgrade2_tool.pl @@ -263,7 +263,7 @@ sub create_upgrade { die "file '$full_filename' already exists, aborting" if -f $full_filename; - open my $fh, ">:utf8", $full_filename or die "can't open $full_filename"; + open my $fh, ">:encoding($encoding)", $full_filename or die "can't open $full_filename"; print $fh "$comment \@tag: $filename\n"; print $fh "$comment \@description: $description\n"; print $fh "$comment \@depends: @depends\n";