Fix the CSV export, provide it in UTF-8
authorNahuel Angelinetti <nahuel.angelinetti@biblibre.com>
Thu, 16 Oct 2008 12:48:14 +0000 (14:48 +0200)
committerGalen Charlton <galen.charlton@liblime.com>
Thu, 16 Oct 2008 15:58:02 +0000 (10:58 -0500)
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
reports/guided_reports.pl

index deeabe7..ddcdb4a 100755 (executable)
@@ -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');