From: Moritz Bunkus Date: Mon, 16 Aug 2010 07:51:37 +0000 (+0200) Subject: Codierungssystem ISO-8859-15 in die von locales.pl erzeugten Dateien all/missing... X-Git-Tag: release-2.6.2beta1~181^2~3 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=d0b3cf0ba7627d7055a97a5be1356eb671264620;p=kivitendo-erp.git Codierungssystem ISO-8859-15 in die von locales.pl erzeugten Dateien all/missing/lost schreiben --- 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;