From ee5cbb72fe58f9fa8c5fad39da67fc078496db94 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 15 Jan 2009 01:13:50 +0000 Subject: Bug 464992: Binary attachments, graphical reports and new charts are not displayed correctly on Windows - Patch by Frédéric Buclin r=mkanat a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- report.cgi | 2 ++ 1 file changed, 2 insertions(+) (limited to 'report.cgi') diff --git a/report.cgi b/report.cgi index c84ed6208..fd2f28943 100755 --- a/report.cgi +++ b/report.cgi @@ -328,6 +328,8 @@ if ($cgi->param('debug')) { # All formats point to the same section of the documentation. $vars->{'doc_section'} = 'reporting.html#reports'; +disable_utf8() if ($format->{'ctype'} =~ /^image\//); + $template->process("$format->{'template'}", $vars) || ThrowTemplateError($template->error()); -- cgit v1.2.3-24-g4f1b