[Typo3-dev] typo3.8.0beta2: Formmail and other charsets, i.e. utf-8

Ådne Hovda aadne at hovda.no
Thu Apr 21 11:38:32 CEST 2005


> Did you try my extension kb_mailcs?
> 
> It fetches the Charset for Formmails from TS Setup and if not set
> from forceCharset.

Thanks for the hint. I overlooked that one.

In your extension-code, it seems like you have missed the encoding of 
the From: header which is built by convertName().

Also, the function getCharSet() should probably check 
config.metaCharset. Better than inventing a new option 
config.tx_kbmailcs_formMailCharset, IMO. Or am I wrong?

Of course the preferred way to handle multiple charsets in BE is by 
using unicode, but still it is possible to have separate websites using 
different charsets in one db, exclusively assigned to different 
BE-users. Therefore, the charset should be set according to the current 
template.

> I stay in contact with Dan Revsbeck for implementing this in future 
> versions but I don't think it will go into 3.8 as I haven't got a
> positive answer from him until now that he is willing to implement my
> changes... So I would start writing a core patch.

I also hope this could go into 3.8. Should be basic functionality. No 
actual need for an extension, IMO.

Ådne




More information about the TYPO3-dev mailing list