Posted by Ciuin on 03/27/07 09:55
Hi all,
I need to mail() emails with user input that does contain non-ascii
(umlauts, accents) and non-latin (cyrillic) characters in the
"Subject:" and "From:" headers. I understand that they are typically
encoded in UTF8 like this:
=?UTF-8?B?w5Z0emkg0J/RgNC40LLQtdGC?=
but I cannot find a PHP function to encode the input string in this
way. utf8_encode gives me garbled char soup, so what do you use?
Thanks.
[Back to original message]
|