Fix the CSV export, provide it in UTF-8

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
Nahuel Angelinetti 2008-10-16 14:48:14 +02:00 committed by Henri-Damien LAURENT
parent a79b784f9c
commit 846121e4ce
1 changed files with 2 additions and 0 deletions

View File

@ -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');