From 30e67fae37b3738b33ddaadb05fbc5db14c569d2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Thu, 8 Nov 2012 12:00:16 +0100 Subject: [PATCH] pgupgrade_tool --create: Encoding besser respektieren. --- scripts/dbupgrade2_tool.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- 2.20.1