anand14 Posted February 1, 2011 Share Posted February 1, 2011 I am writing a script to read a mail box and fetch mail body using php function "imap_fetchbody". If mail content encoding is UTF-8 then no problem but mail send from IPAd having ascii encoding and replace the new line with =20 along with many other changes. can anyone help me out with this in converting it to UTF-8 ?? Link to comment https://forums.phpfreaks.com/topic/226334-php-ascii-to-utf-8-conversion/ Share on other sites More sharing options...
anand14 Posted February 2, 2011 Author Share Posted February 2, 2011 when i read the mail manually logging in the text i found is perfect , but when i fetch the mail body using php script all line get =20 at the end. it is happening only in case when mail encoding is ASCII. Link to comment https://forums.phpfreaks.com/topic/226334-php-ascii-to-utf-8-conversion/#findComment-1168718 Share on other sites More sharing options...
Mr_J Posted February 2, 2011 Share Posted February 2, 2011 For some reason, MIME-Version1.0 rings a bell... :? Link to comment https://forums.phpfreaks.com/topic/226334-php-ascii-to-utf-8-conversion/#findComment-1168767 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.