I got a string =?GB2312?B?zbO8xtGnu/m0ocq10bXP7sS/?=
with $overview[0]->subject;
in imap_fetch_overview
function .
How to change the subject info of Gmail into Chinese character?
I got a string =?GB2312?B?zbO8xtGnu/m0ocq10bXP7sS/?=
with $overview[0]->subject;
in imap_fetch_overview
function .
How to change the subject info of Gmail into Chinese character?
Copyright © 2021 Jogjafile Inc.
Your string is a MIME RFC 2047 encoded word which can be decoded using PHP's
mb_decode_mimeheader
andmb_internal_encoding
functions.To convert your MIME encoded string to UTF-8, you can use the following code: