From: erickson Date: Sun, 24 Aug 2008 16:06:41 +0000 (+0000) Subject: specify utf8 output encoding on the email outfile X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e4b4e1e67425bf2031717cea33ce55846b29d5ea;p=Evergreen.git specify utf8 output encoding on the email outfile git-svn-id: svn://svn.open-ils.org/ILS/trunk@10425 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/support-scripts/generate_circ_notices.pl b/Open-ILS/src/support-scripts/generate_circ_notices.pl index 57dcd9f107..104f0e5e8f 100755 --- a/Open-ILS/src/support-scripts/generate_circ_notices.pl +++ b/Open-ILS/src/support-scripts/generate_circ_notices.pl @@ -359,6 +359,7 @@ sub handle_email_template_output { 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;