From 3e0fa7357100d383f3109d37449028774640212d Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Fri, 7 Dec 2012 14:06:20 -0500 Subject: [PATCH] csv pusher Signed-off-by: Bill Erickson --- Open-ILS/src/support-scripts/csv_notify_pusher.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/support-scripts/csv_notify_pusher.pl b/Open-ILS/src/support-scripts/csv_notify_pusher.pl index 067002ac72..91741e4454 100755 --- a/Open-ILS/src/support-scripts/csv_notify_pusher.pl +++ b/Open-ILS/src/support-scripts/csv_notify_pusher.pl @@ -6,7 +6,6 @@ use OpenSRF::AppSession; use OpenILS::Utils::CStoreEditor; use OpenILS::Utils::Cronscript; use OpenILS::Utils::RemoteAccount; -binmode(STDOUT, ":utf8"); my %defaults = ( 'osrf-config=s' => '/openils/conf/opensrf_core.xml', @@ -64,6 +63,8 @@ if ($verbose) { open(OUTFILE, ">$out_file") or die "unable to open out-file '$out_file' for writing: $!\n"; +binmode(OUTFILE, ":utf8"); + my %date_filter; $date_filter{run_time} = {'>=' => $start_date} if $start_date; $date_filter{run_time} = {'<' => $end_date} if $end_date; -- 2.11.0