Search code examples
phpemailzend-frameworkcharacter-encodingzend-mail

I get funny characters when reading multipart and text messages using Zend Mail?


Hi guys I've shifted to using the zend framework for reading messages from an inbox however when reading some html messages I see a lot of weird charcters like:

don’t

looks like

don=92t 

Plus other weird characters like =20 .. whats going on? Is it an ecoding issue? How do I fix it?


Solution

  • Welcome to the wonderful world of quoted-printable encoding: You'll need to decode the quoted-printable string.