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

henridamien.laurent at biblibre.com henridamien.laurent at biblibre.com
Fri Mar 6 11:37:49 CET 2009


From: Nahuel Angelinetti <nahuel.angelinetti at biblibre.com>

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent at biblibre.com>
---
 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 1013d45..65c4110 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.6.3




More information about the Koha-patches mailing list