Hastymail2

Hastymail2 is an Open Source IMAP webmail client written in PHP. Our focus is compliance, usability, security, and speed.

Hastymail 2

avatar
UTF8 characters not appearing correctly in email subject line

Hello,

I noticed that subject lines as described in RFC2047 (e.g. "=?UTF-8?Q?Ihr_pers=c3=b6nlicher_Newsletter_43_|_2009?=") are not decoded correctly. Is this feature missing or is it just a problem with my installation?

I am using Hastymail2 RC8 SVN rev 1094 on OpenBSD 4.6 with PHP 5.2.10 with the Suhosin Extension 0.9.27 and the mbstring extension.

Many thanks.

Regards,
I.M.

Reply /Quote
avatar
Re: UTF8 characters not appearing correctly in email subject line

Those should be properly decoded. Can you send me an example message that is not handled correctly? You can send it to jason@hastymail.org and I will look into it and let you know.

Thanks for the feedback,
Jason

Reply /Quote
avatar
Re: UTF8 characters not appearing correctly in email subject line

The reason the decoding was failing is because the entity in question is encoded with quoted printable encoding but with lowercase letters. The standard is to use upper case letters. So the following was failing to decode properly:

=?UTF-8?Q?Ihr_pers=c3=b6nlicher_Newsletter_43_|_2009?=

But this would work:

=?UTF-8?Q?Ihr_pers=C3=B6nlicher_Newsletter_43_|_2009?=

I have updated SVN as of rev 1111 to decode quoted printable encoding in either upper or lower case so this problem should be fixed. If you have any additional problems please let us know.

Thanks for the feedback,
Jason

Reply /Quote
Get Hastymail at SourceForge.net. Fast, secure and Free Open Source software downloads