Re: Encode e-mail text in UTF-8
| From: | Inigo Medina | Date: | Tue, 20 Nov 2012 22:16:19 +0000 |
| Subject: | Re: Encode e-mail text in UTF-8 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-319748@lists.php.net to get a copy of this message | ||
On Tue, 20 Nov 2012, MC wrote:
Hi, what is the recommended way to encode e-mail text in UTF-8? When the site were running in a single byte code page like iso-8859-2 I were happy with the imap_8bit function and quoted-printable encoding of e-mails. However, the function does not seem to work correctly for multi-byte code pages like UTF-8.Did you use header 'Content-Type:text/html;charset=utf-8' on the email? iñ
I have tried to search for alternatives but failed to find anything useful. Thanks in advance for any tips. MC -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php