From: Bill Erickson Date: Fri, 7 Dec 2012 19:06:20 +0000 (-0500) Subject: csv pusher X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3e0fa7357100d383f3109d37449028774640212d;p=evergreen%2Fequinox.git csv pusher Signed-off-by: Bill Erickson --- 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;