Subject: | UTF-8 strings cause an error in sending |
Date: | Mon, 19 Mar 2012 14:03:47 +0200 |
To: | bug-Mail-Sender [...] rt.cpan.org |
From: | Matti Linnanvuori <matti.linnanvuori [...] portalify.com> |
Hi!
UTF-8 strings cause an error in sending. If a UTF-8 string with wide characters is used as parameter msg to MailMsg, the following error occurs:
Mon Mar 19 10:45:01 2012 Error: Wide character in subroutine entry at /usr/lib/perl5/site_perl/5.10.0/Mail/Sender.pm line 91, <GEN4> line 12.
Version 0.8.16.
I had to run the msg parameter value through encode( 'utf8', $message ) to make sending possible.
regards, Matti Linnanvuori