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)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Wed, 12 Nov 2008 13:49:43 +0000 (14:49 +0100)
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');