]> git.deb.at Git - deb/packages.git/commitdiff
Also send charset for RSS file
authorFrank Lichtenheld <frank@lichtenheld.de>
Thu, 23 Feb 2006 16:54:34 +0000 (16:54 +0000)
committerFrank Lichtenheld <frank@lichtenheld.de>
Thu, 23 Feb 2006 16:54:34 +0000 (16:54 +0000)
lib/Packages/DoNewPkg.pm

index c3175ec6db6ca2cbfd39a3c6573a91b51cf5e0dc..015d0559b49577d2348c8dc4cce3d71d6e7747f4 100644 (file)
@@ -141,7 +141,9 @@ sub do_newpkg {
                               subject  => $pkg->[6],
                           } );
        }
-       print &CGI::header( -type => 'application/rss+xml' );
+       my $charset = get_charset( $opts->{lang} );
+       print &CGI::header( -type => 'application/rss+xml',
+                           -charset => $charset );
        print $rss->as_string;
        exit;
     }