[TYPO3-core] Correction to charset setting in t3lib_htmlmail
Martin Kutschker
Martin.Kutschker at blackbox.net
Sun Apr 30 20:41:29 CEST 2006
Stanislas Rolland <stanislas.rolland at fructifor.ca> writes on
Sun, 30 Apr 2006 16:57:29 +0200 (METDST):
>
> This is a CVS patch request. Type: Bugfix Description: When invoking
> t3lib_htmlmail from the frontend
> $GLOBALS['TSFE']->config['metaCharset'] is not always set.
> $GLOBALS['TSFE']->metaCharset should rather be used.
Hm, shouldn't be TSFE->renderCharset be used?
Note: renderCharset may be different from metaCharset. renderCharset is used for generating the content. If renderCharset and metaCharset differn than the whole generated content is converted to metaCharset at the end of the page rendering.
AFAIK, renderCharset is initialized via config[renderChareset]/config[metaCharset]/BE[forceCharset] (in that order).
Masi
More information about the TYPO3-team-core
mailing list