X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=misc%2Ftranslator%2Fxgettext.pl;h=f7a940b8cd1ba387c1fd6383f49f6b86fde67884;hb=263dded818da9d3ad0fa702f7bc848707e181211;hp=21e3fc5babdef99546d1f0a0fbb1ee3350be1f53;hpb=8f698965b1f368967b878db8adb3a6f785fa5f26;p=koha.git diff --git a/misc/translator/xgettext.pl b/misc/translator/xgettext.pl index 21e3fc5bab..f7a940b8cd 100755 --- a/misc/translator/xgettext.pl +++ b/misc/translator/xgettext.pl @@ -351,7 +351,7 @@ if (defined $output && $output ne '-') { print STDERR "$0: Outputting to STDOUT...\n" if $verbose_p; open(OUTPUT, ">&STDOUT"); } -#binmode( OUTPUT, ":utf8" ); +binmode OUTPUT, ':encoding(UTF-8)'; if (defined $files_from) { print STDERR "$0: Opening input file list \"$files_from\"\n" if $verbose_p;