From 846121e4cea4cc4bcae49080a3423cbdc4e3eed0 Mon Sep 17 00:00:00 2001 From: Nahuel Angelinetti Date: Thu, 16 Oct 2008 14:48:14 +0200 Subject: [PATCH] Fix the CSV export, provide it in UTF-8 Signed-off-by: Galen Charlton --- reports/guided_reports.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reports/guided_reports.pl b/reports/guided_reports.pl index deeabe78c0..ddcdb4a411 100755 --- a/reports/guided_reports.pl +++ b/reports/guided_reports.pl @@ -395,6 +395,8 @@ elsif ($phase eq 'Run this report'){ } elsif ($phase eq 'Export'){ + binmode STDOUT, ':utf8'; + # export results to tab separated text my $sql = $input->param('sql'); my $format = $input->param('format'); -- 2.20.1