@@ -, +, @@ --- misc/translator/TmplTokenizer.pm | 2 +- misc/translator/xgettext.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/misc/translator/TmplTokenizer.pm +++ a/misc/translator/TmplTokenizer.pm @@ -1,6 +1,6 @@ package TmplTokenizer; -use Modern::Perl; +use Modern::Perl '2010'; use C4::TmplTokenType; use C4::TmplToken; use C4::TTParser; --- a/misc/translator/xgettext.pl +++ a/misc/translator/xgettext.pl @@ -367,7 +367,7 @@ 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, '>:encoding(utf-8)', $output) || die "$output: $!\n"; + open($OUTPUT, '>', $output) || die "$output: $!\n"; } else { print STDERR "$0: Outputting to STDOUT...\n" if $verbose_p; open($OUTPUT, ">&STDOUT"); --