View | Details | Raw Unified | Return to bug 24365
Collapse All | Expand All

(-)a/misc/translator/xgettext.pl (-2 / +1 lines)
Lines 366-372 usage_error('You cannot specify both --convert-from and --files-from') Link Here
366
366
367
if (defined $output && $output ne '-') {
367
if (defined $output && $output ne '-') {
368
    print STDERR "$0: Opening output file \"$output\"\n" if $verbose_p;
368
    print STDERR "$0: Opening output file \"$output\"\n" if $verbose_p;
369
        open($OUTPUT, '>', $output) || die "$output: $!\n";
369
        open($OUTPUT, '>:encoding(utf-8)', $output) || die "$output: $!\n";
370
} else {
370
} else {
371
    print STDERR "$0: Outputting to STDOUT...\n" if $verbose_p;
371
    print STDERR "$0: Outputting to STDOUT...\n" if $verbose_p;
372
    open($OUTPUT, ">&STDOUT");
372
    open($OUTPUT, ">&STDOUT");
373
- 

Return to bug 24365