[TYPO3-core] RFC: installer doesn't honour fourceCharset (bug #1358)
Ernesto Baschny [cron IT]
ernst at cron-it.de
Wed Sep 5 14:50:20 CEST 2007
Martin Kutschker wrote: on 14.07.2007 01:05:
> Branch: trunk, TYPO3_4-1
>
> Problem: you cannot enter a site name (or other strings) in the
> installations charset as forceCharset is ignored.
>
> Solution: use forceCharset
>
> Note: Obviously still won't work in a deprecated multi-charset enviroment.
Didn't work in my environment, because the webserver was already sending
the HTTP-header:
Content-Type: text/html; charset=ISO-8859-1
The browsers will prioritize that over the http-equiv meta information.
We should also overwrite the real HTTP-header:
header('Content-Type: text/html;
charset='.($GLOBALS['TYPO3_CONF_VARS']['BE']['forceCharset']?$GLOBALS['TYPO3_CONF_VARS']['BE']['forceCharset']:'iso-8859-1'));
So with this addition I also give my +1 for 4.1 and trunk, even if the
installer will be replaced sometime soon in trunk.
Cheers,
Ernesto
More information about the TYPO3-team-core
mailing list