[TYPO3-project-seminars] Wrong charset in the body of notification / thank you-mails

Tobias Schaefer tobias.schaefer at ptb.de
Thu Apr 9 09:19:36 CEST 2009


Hi Niels,

I've changed $TYPO3_CONF_VARS['BE']['forceCharset'] = 'utf-8' and 
plugin.tx_seminars.charsetForEMails = UTF-8. Now the mail looks like this:
Subject:
--------------------------------------------
AbmeldebestÃ?tigung: TYPO3-Schulung, 10.04.2009
--------------------------------------------

Body:
--------------------------------------------
From: "Tobias Schaefer" <Tobias.Schaefer at ptb.de>

Content-Type: text/plain; charset="utf-8"

Message-Id: <20090409065909.10088230106 at s85386.bs.ptb.de>
Date: Thu,  9 Apr 2009 08:59:09 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable


Guten Tag Tobias Sch=C3=A4fer,=0D
=0D
Sie haben sich gerade von dieser Veranstaltung abgemeldet:=0D
=0D
TYPO3-Schulung=0D
=0D
[Nummer]=0D
2=0D
=0D
[Ticket-ID]=0D
10=0D
=0D
[Preis]=0D
Standardpreis: kostenlos=0D
=0D
[Pl=C3=A4tze]=0D
1=0D
=0D
[Datum]=0D
10.04.2009=0D
=0D
[Zeit]=0D
09:00-12:00=0D
=0D
[Ort]=0D
Schulungsraum=0D
=0D
--------------------------------------------

Besides all umlauts on the website where replace by question marks. So I 
revoked the changes to utf-8.
Which version (revision) of seminars do you have installed (SVN or TER)?

Regards,

Tobias


Niels Pardon schrieb:
> Hi Tobias!
> 
> I'm not sure whether this is the right direction.
> 
> The TypoScript setup variable plugin.tx_seminars.charsetForEMails does
> just set the charset in the e-mail header but does not take care of any
> conversions.
> 
> So the e-mail header says e.g. ISO-8859-1 but the contents might not be
> in ISO-8859-1 as they are not converted to ISO-8859-1.
> 
> I don't know where your problems with umlauts may come from.
> 
> I have a installation with latin1_swedish as collation in the database
> but $TYPO3_CONF_VARS['BE']['forceCharset'] = 'utf-8'; defined in
> localconf.php and plugin.tx_seminars.charsetForEMails = UTF-8.
> 
> I have no problems with German umlauts in e-mails from seminars.
> 
> Maybe this helps.
> 
> Greets,
> 
> Niels


More information about the TYPO3-project-seminars mailing list