php-imap icon indicating copy to clipboard operation
php-imap copied to clipboard

Chinese characters in email body

Open LucaCantu opened this issue 2 years ago • 0 comments

It seems like with UTF-16 charset, the email displays chinese characters in body. we are trying to solve by using:

mb_convert_encoding(base64_decode($message->getRawBody()), "UTF-8", "UTF-16LE")

which seems to work converting characters to the actual message

LucaCantu avatar Oct 04 '23 08:10 LucaCantu