[Phpwm] unicode email with Zend_Mail - what about the subject?
david at codepoets.co.uk
Wed Sep 10 12:54:31 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Annoyingly (or not, perhaps) a new day, and a slightly more functioning
brain shows the following working fine :
$mail = new Zend_Mail('UTF-8');
$mail->setbodytext("hello world - here is some unicode ££€€ stuff");
$mail->setSubject("See £ $ €");
$mail->setFrom('david at palepurple.co.uk', 'rah rah');
$mail->addTo('david at codepoets.co.uk', 'rah rah');
So, now I'm wondering why it didn't work yesterday. Clearly the unicode
troll moved on to hassle a different computer user overnight.
So, to summarise, Zend_Mail supports unicode properly; Sam was being
 - cos it wasn't me...
[ david at codepoets dot co dot uk ]
[ http://www.codepoets.co.uk ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Phpwm