From 416227e3eff75fb13c805ec723a414f54bc7c372 Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Thu, 23 Feb 2006 16:54:34 +0000 Subject: [PATCH] Also send charset for RSS file --- lib/Packages/DoNewPkg.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- 2.39.2