From 068595e5accdfa4f75ce4271728f2deb29e1baca Mon Sep 17 00:00:00 2001 From: Thomas Mueller Date: Tue, 12 Feb 2013 12:16:13 +0100 Subject: [PATCH] fixing issues with UTF8 characters in translatable strings --- l10n/l10n.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l10n/l10n.pl b/l10n/l10n.pl index 346a21bfef..b07d6d686b 100644 --- a/l10n/l10n.pl +++ b/l10n/l10n.pl @@ -104,7 +104,7 @@ if( $task eq 'read' ){ my $language = ( $file =~ /\.js$/ ? 'Python' : 'PHP'); my $joinexisting = ( -e $output ? '--join-existing' : ''); print " Reading $file\n"; - `xgettext --output="$output" $joinexisting --keyword=$keyword --language=$language "$file"`; + `xgettext --output="$output" $joinexisting --keyword=$keyword --language=$language "$file" --from-code=UTF-8 --package-version="5.0.0" --package-name="ownCloud Core" --msgid-bugs-address="translations\@owncloud.org"`; } chdir( $whereami ); }