X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/ec5558685b18db2407692464a0f3a6d022b9a845..f1775ca:/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;