[Koha-patches] [PATCH] [bug #2684]Fix the CSV export, provide it in UTF-8

Nahuel Angelinetti nahuel.angelinetti at biblibre.com
Thu Oct 16 14:41:38 CEST 2008


---
 reports/guided_reports.pl |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/reports/guided_reports.pl b/reports/guided_reports.pl
index 26a496f..390243e 100755
--- a/reports/guided_reports.pl
+++ b/reports/guided_reports.pl
@@ -367,6 +367,8 @@ elsif ( $phase eq 'Save Report' ) {
 #}
 
 elsif ($phase eq 'Run this report'){
+    binmode STDOUT, ':utf8';
+
     # execute a saved report
     # FIXME The default limit should not be hardcoded...
     my $limit = 20;
-- 
1.5.4.3




More information about the Koha-patches mailing list