[TYPO3-dev] flexArray2Xml()-Method within FE-Plugin and $GLOBALS['LANG']->charSet
Martin Kutschker
martin.kutschker-n0spam at no5pam-blackbox.net
Thu Sep 14 21:51:45 CEST 2006
Stefan Bothner | [m]zentrale schrieb:
>
> If i browse the page where the plugin is set with FF the charSet is set
> correctly.
> If i browse the page with IE there is no charSet set. I get following
> prologue:
>
> <?xml version="1.0" encoding="" standalone="yes" ?>
>
> ive set config.metaCharset = iso-8859-1 in my TS.
>
> Whats the problem? Bug? Setup Typo3?
Do you you use FF for developing? I guess you're logged in the BE while
having a look at the FE. But in IE you're probably not logged in. So in
FF the BE-only object $GLOBALS['LANG'] is present, but not in IE.
In FE the flex form tools should use $GLOBALS['TSFE']->renderCharset.
Masi
PS: It really is a problem that many functions and methods that work on
charset have the odd BE->LANG/FE->TSFE check. I think TYPO3 needs a
unified L10N object to handle localization stuff.
More information about the TYPO3-dev
mailing list