From: Frank Lichtenheld Date: Thu, 23 Feb 2006 16:54:34 +0000 (+0000) Subject: Also send charset for RSS file X-Git-Tag: switch-to-templates~44 X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=416227e3eff75fb13c805ec723a414f54bc7c372;p=deb%2Fpackages.git Also send charset for RSS file --- diff --git a/lib/Packages/DoNewPkg.pm b/lib/Packages/DoNewPkg.pm index c3175ec..015d055 100644 --- a/lib/Packages/DoNewPkg.pm +++ b/lib/Packages/DoNewPkg.pm @@ -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; }