php-i18n Digest 23 Nov 2006 18:00:36 -0000 Issue 338
Topics (messages 1030 through 1030):
mb_send_mail() does not send UTF-8 encoded messages properly
1030 by: Anastas Giokov
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
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 ""utf-8"" - 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
--- End Message ---