From d0b3cf0ba7627d7055a97a5be1356eb671264620 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 16 Aug 2010 09:51:37 +0200 Subject: [PATCH] Codierungssystem ISO-8859-15 in die von locales.pl erzeugten Dateien all/missing/lost schreiben --- locale/de/all | 1 + scripts/locales.pl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/locale/de/all b/locale/de/all index 50fa6001a..3e2652f85 100644 --- a/locale/de/all +++ b/locale/de/all @@ -1,4 +1,5 @@ #!/usr/bin/perl +# -*- coding: iso-8859-15; -*- # These are all the texts to build the translations files. # The file has the form of 'english text' => 'foreign text', diff --git a/scripts/locales.pl b/scripts/locales.pl index 692417fcd..2174c2d81 100755 --- a/scripts/locales.pl +++ b/scripts/locales.pl @@ -598,7 +598,7 @@ sub generate_file { open my $fh, '>', $file or die "$! : $file"; - print $fh "#!/usr/bin/perl\n\n"; + print $fh "#!/usr/bin/perl\n# -*- coding: iso-8859-15; -*-\n\n"; print $fh $header, "\n" if $header; print $fh "$data_name = $delim[0]\n" if $data_name; -- 2.20.1