yolop Posted December 15, 2009 Share Posted December 15, 2009 hi i have this code. =?UTF-8?q?=D7=A0=D7=93=D7=A8=D7=A9=D7=AA_=D7=A4=D7=A2=D7 =95=D7=9C=D7=94_=D7= 9C=D7=94=D7=A4=D7=A2=D7=99=D7=9C_=D7=97=D7=A9=D7=9 1=D7=95=D7=9F_=D7=94 =D7=9E=D7=A9=D7=AA=D7=9E=D7=A9_=D7=91-_FXP=2Eco=2Eil and i looking for function in php that can translate me this code .... who know please? Link to comment https://forums.phpfreaks.com/topic/185294-translate-utf-8-code/ Share on other sites More sharing options...
Kieran Menor Posted December 16, 2009 Share Posted December 16, 2009 It looks more like Quoted-printable to me. It's a type of encoding commonly used in e-mails. Try quoted_printable_decode(). Edit: Then again... you can try some of the decoding functions suggested in the comments of imap_utf8() first, I guess. Link to comment https://forums.phpfreaks.com/topic/185294-translate-utf-8-code/#findComment-978149 Share on other sites More sharing options...
yolop Posted December 16, 2009 Author Share Posted December 16, 2009 It looks more like Quoted-printable to me. It's a type of encoding commonly used in e-mails. Try quoted_printable_decode(). Edit: Then again... you can try some of the decoding functions suggested in the comments of imap_utf8() first, I guess. <?php echo quoted_printable_decode('D7=A0'); ?> back: D7 and <?php echo imap_utf8('D7=A0'); ?> back Call to undefined function imap_utf8() both of them no good.. Link to comment https://forums.phpfreaks.com/topic/185294-translate-utf-8-code/#findComment-978157 Share on other sites More sharing options...
thebadbad Posted December 16, 2009 Share Posted December 16, 2009 I'm with Boom; it looks like quoted-printable. If it's not, what is it then? Where does it come from? You have to know the encoding before you can decode it. Link to comment https://forums.phpfreaks.com/topic/185294-translate-utf-8-code/#findComment-978179 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.