Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Email-Send CPAN distribution.

Report information
The Basics
Id: 31456
Status: rejected
Priority: 0/
Queue: Email-Send

People
Owner: Nobody in particular
Requestors: mkanat [...] bugzilla.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Email::Send::Sendmail throws a warning when given utf8 data
Date: Wed, 12 Dec 2007 20:51:29 -0800
To: bug-email-send [...] rt.cpan.org
From: Max Kanat-Alexander <mkanat [...] bugzilla.org>
Email::Send::Sendmail throws a warning about "wide character" if you try to give it a string that has the utf8 bit on (in perl 5.8.0 or higher) and also has multi-byte characters. Emails can validly contain such characters, with Content-Transfer-Encoding: 8bit. Attached is a patch that fixes both Email::Send::Sendmail and Email::Send::Qmail to not throw the warning. -Max

Message body is not shown because sender requested not to inline it.

The utf8 flag does not indicate that a string is unicode. It should more or less never be looked at or trusted. Data should be encoded, even if only to utf-8, before transmission. Email::Send is not a transcoder. Finally: please use Email::Sender. -- rjbs