From e4b4e1e67425bf2031717cea33ce55846b29d5ea Mon Sep 17 00:00:00 2001 From: erickson Date: Sun, 24 Aug 2008 16:06:41 +0000 Subject: [PATCH] specify utf8 output encoding on the email outfile git-svn-id: svn://svn.open-ils.org/ILS/trunk@10425 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/support-scripts/generate_circ_notices.pl | 1 + 1 file changed, 1 insertion(+) 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; -- 2.11.0