From 3c0e54463bc103a7327faf647fee76688442e94b Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" Date: Fri, 7 Oct 2005 20:48:56 +0000 Subject: [PATCH] Bug 311437 Buglist does not send utf8 charset after server push Patch by Joel Peshkin r=kiko, a=justdave git-svn-id: svn://10.0.0.236/trunk@181786 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/buglist.cgi | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mozilla/webtools/bugzilla/buglist.cgi b/mozilla/webtools/bugzilla/buglist.cgi index f8f81d3e515..b832d82c7db 100755 --- a/mozilla/webtools/bugzilla/buglist.cgi +++ b/mozilla/webtools/bugzilla/buglist.cgi @@ -1066,7 +1066,11 @@ if ($format->{'extension'} eq "csv") { if ($serverpush) { # close the "please wait" page, then open the buglist page print $cgi->multipart_end(); - print $cgi->multipart_start(-type => $contenttype, -content_disposition => $disposition); + my @extra; + push @extra, (-charset => "utf8") if Param("utf8"); + print $cgi->multipart_start(-type => $contenttype, + -content_disposition => $disposition, + @extra); } else { # Suggest a name for the bug list if the user wants to save it as a file. # If we are doing server push, then we did this already in the HTTP headers