[open-ils-commits] r10425 - trunk/Open-ILS/src/support-scripts
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Aug 24 12:06:49 EDT 2008
Author: erickson
Date: 2008-08-24 12:06:41 -0400 (Sun, 24 Aug 2008)
New Revision: 10425
Modified:
trunk/Open-ILS/src/support-scripts/generate_circ_notices.pl
Log:
specify utf8 output encoding on the email outfile
Modified: trunk/Open-ILS/src/support-scripts/generate_circ_notices.pl
===================================================================
--- trunk/Open-ILS/src/support-scripts/generate_circ_notices.pl 2008-08-24 15:51:06 UTC (rev 10424)
+++ trunk/Open-ILS/src/support-scripts/generate_circ_notices.pl 2008-08-24 16:06:41 UTC (rev 10425)
@@ -359,6 +359,7 @@
if($opt_use_email_outfile) {
if(open(F, ">>$opt_use_email_outfile")) {
+ binmode F, ":utf8";
$logger->debug("notice: appending emails to outfile $opt_use_email_outfile");
print F $msg;
close F;
More information about the open-ils-commits
mailing list