From 7a1fbd246ef55e3f5e740d51b9f18a21bc826418 Mon Sep 17 00:00:00 2001 From: =?utf8?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 (cherry picked from commit e5871014de68161bd89a8fdcdb5aa7a4c1b9b038) Signed-off-by: Chris Nighswonger --- misc/translator/xgettext.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/translator/xgettext.pl b/misc/translator/xgettext.pl index f7a940b8cd..99a75bf372 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; -- 2.39.5