mb_send_mail() does not send UTF-8 encoded messages properly

[email protected] (Anastas Giokov)
Newsgroups php.i18n
Message-ID <[email protected]>
I am trying to send UTF-8 encoded e-mail message with mail() function,
overloaded by mb_send_mail(). The following message is recorded in error
log:

PHP Warning:  mb_send_mail() [<a
href='function.mb-send-mail'>function.mb-send-mail</a>]: Unsupported
charset &quot;&quot;utf-8&quot;&quot; - will be regarded as ascii in {file}

The message is sent ASCII encoded and is garbled.

mb_language returns 'neutral' as it should be for UTF-8.

I'm using PHP 5.1.6 / Apache 2.2.3 on Debian testing.

Anastas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.