Make sure that HTTP responses and the emails are considered as being utf-8... not sure of the real benefit, but we've seen a number of things about this so Denis and I decided to more forward and take the chance.

SVN:trunk[295]
This commit is contained in:
Romain Quetiez
2010-01-29 18:26:03 +00:00
parent 1237fb92d5
commit 46c4d2f419
2 changed files with 4 additions and 1 deletions

View File

@@ -43,7 +43,9 @@ class EMail
public function Send()
{
$sHeaders = 'MIME-Version: 1.0' . "\r\n";
$sHeaders .= 'Content-type: text/html; charset=utf-8' . "\r\n";
// ! the case is important for MS-Outlook
$sHeaders .= 'Content-Type: text/html; charset=UTF-8' . "\r\n";
$sHeaders .= 'Content-Transfer-Encoding: 8bit' . "\r\n";
foreach ($this->m_aHeaders as $sKey => $sValue)
{
$sHeaders .= "$sKey: $sValue\r\n";