specify utf8 output encoding on the email outfile
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 24 Aug 2008 16:06:41 +0000 (16:06 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 24 Aug 2008 16:06:41 +0000 (16:06 +0000)
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

index 57dcd9f..104f0e5 100755 (executable)
@@ -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;