Bug 5917 : Testing fixing utf8 for preferences po file
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
parent
24f830d6c1
commit
3e6ee930c8
|
|
@ -347,11 +347,11 @@ 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";
|
||||
binmode( OUTPUT, ":utf8" );
|
||||
} else {
|
||||
print STDERR "$0: Outputting to STDOUT...\n" if $verbose_p;
|
||||
open(OUTPUT, ">&STDOUT");
|
||||
}
|
||||
binmode( OUTPUT, ":utf8" );
|
||||
|
||||
if (defined $files_from) {
|
||||
print STDERR "$0: Opening input file list \"$files_from\"\n" if $verbose_p;
|
||||
|
|
|
|||
Loading…
Reference in New Issue