[Patches] [PATCH] Bug 6679: Fixing admin/aqplain :encoding(UTF-8) gives strict

koha-patchbot at kohaaloha.com koha-patchbot at kohaaloha.com
Fri Nov 4 19:55:42 NZDT 2011


From: Chris Cormack <chrisc at catalyst.net.nz>
Date: Mon, 31 Oct 2011 20:57:19 +1300
Subject: [PATCH] Bug 6679: Fixing admin/aqplain :encoding(UTF-8) gives strict
 validation

---
 admin/aqplan.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/admin/aqplan.pl b/admin/aqplan.pl
index ceb9950..9c75431 100755
--- a/admin/aqplan.pl
+++ b/admin/aqplan.pl
@@ -463,7 +463,7 @@ output_html_with_http_headers $input, $cookie, $template->output;
 sub _print_to_csv {
     my ( $header, $results ) = @_;
 
-    binmode STDOUT, ":utf8";
+    binmode STDOUT, ":encoding(UTF-8)";
 
     my $csv = Text::CSV_XS->new(
         {   sep_char     => $del,
-- 
1.7.5.4


More information about the Patches mailing list