X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/c4f960a5ae395e5594ae9063945f5f0b16e3d053..72ad92fd:/scripts/locales.pl diff --git a/scripts/locales.pl b/scripts/locales.pl index d156ddd03..fa787a24b 100755 --- a/scripts/locales.pl +++ b/scripts/locales.pl @@ -601,7 +601,9 @@ sub generate_file { open my $fh, '>', $file or die "$! : $file"; - print $fh "#!/usr/bin/perl\n# -*- coding: $charset; -*-\n# vim: fenc=$charset\n\n"; + my $emacs_charset = lc $charset; + + print $fh "#!/usr/bin/perl\n# -*- coding: $emacs_charset; -*-\n# vim: fenc=$charset\n\n"; print $fh $header, "\n" if $header; print $fh "$data_name = $delim[0]\n" if $data_name;