Bug 5917 : Fix for xgettext.pl
This commit is contained in:
parent
3fdf627c19
commit
8df93d61bc
1 changed files with 2 additions and 1 deletions
|
@ -341,7 +341,8 @@ usage_error('You cannot specify both --convert-from and --files-from')
|
|||
|
||||
if (defined $output && $output ne '-') {
|
||||
print STDERR "$0: Opening output file \"$output\"\n" if $verbose_p;
|
||||
open(OUTPUT, ">$output") || die "$output: $!\n";
|
||||
open(OUTPUT, ">$output") || die "$output: $!\n";
|
||||
binmode( OUTPUT, ":utf8" );
|
||||
} else {
|
||||
print STDERR "$0: Outputting to STDOUT...\n" if $verbose_p;
|
||||
open(OUTPUT, ">&STDOUT");
|
||||
|
|
Loading…
Reference in a new issue