Proper way to decode incoming email subject (utf 8)

前端 未结 6 658
小蘑菇
小蘑菇 2020-12-16 16:28

I\'m trying to pipe my incoming mails to a PHP script so I can store them in a database and other things. I\'m using the class MIME E-mail message parser (registration requi

6条回答
  •  生来不讨喜
    2020-12-16 16:39

    Use php native function

    
    

    This function can handle utf8 as well as iso-8859-1 string. I have tested it.

提交回复
热议问题