From 32c852b852b0d83b9f1359b4fc5666a1c10d5bab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Demians?= Date: Fri, 24 Feb 2012 13:04:05 +0100 Subject: [PATCH] Bug 6895 Diacritics in Pootle/po files are broken in source text To test: git checkout 3.6.x cd misc/translator ./tmpl_process3.pl update -i ../../koha-tmpl/opac-tmpl/prog/en/ \ -s ./po/fr-FR-i-opac-t-prog-v-3006000.po -r po/fr-FR-i-opac-t-prog-v-3006000.po contains broken diacritics for NORMARC strings for example Signed-off-by: Chris Cormack --- misc/translator/xgettext.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/misc/translator/xgettext.pl b/misc/translator/xgettext.pl index f7a940b..99a75bf 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, ':encoding(UTF-8)'; +#binmode OUTPUT, ':encoding(UTF-8)'; if (defined $files_from) { print STDERR "$0: Opening input file list \"$files_from\"\n" if $verbose_p; -- 1.7.5.4