[TYPO3-commerce] Html mails does not have their charset converted

Morten Olesen mo at idefa.dk
Wed Oct 1 12:44:06 CEST 2008


Hi group,

Need somebody to confirm this;

With shops running iso-8859-1 encoding every mail getting sendt by the 
shop (user/admin) looses all extended/national characters (like "æøå").
This doesn't happen in shops running utf-8 ( even if the mail charset is 
set to iso-8859-1 ), but manually changing the charset when entering the 
user information yields the same result.

After looking over the code I found that only the text mail gets converted.

putting in 			 
$htmlContent=$GLOBALS['TSFE']->csConvObj->conv($htmlContent,$GLOBALS['TSFE']->renderCharset,strtolower($this->conf['usermail.']['charset']));

after the plaintext message is encoded works, but if the target charset 
is iso-8859-1 the chars still gets removed.( bug in t3lib_htmlmail? )


Can anyone confirm this and / or come up with a solution that allows 
sending html mails that are not utf-8 encoded?

/Morten Olesen


More information about the TYPO3-project-commerce mailing list