projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00cfe3f
)
pgupgrade_tool --create: Encoding besser respektieren.
author
Sven Schöling
<s.schoeling@linet-services.de>
Thu, 8 Nov 2012 11:00:16 +0000
(12:00 +0100)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Thu, 8 Nov 2012 11:00:16 +0000
(12:00 +0100)
scripts/dbupgrade2_tool.pl
patch
|
blob
|
history
diff --git
a/scripts/dbupgrade2_tool.pl
b/scripts/dbupgrade2_tool.pl
index
f4a7bb7
..
ba13e3f
100755
(executable)
--- 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";