[TYPO3-dev] flexArray2Xml()-Method within FE-Plugin and $GLOBALS['LANG']->charSet
Stefan Bothner | [m]zentrale
stefan at m-zentrale.de
Thu Sep 14 20:03:11 CEST 2006
Hi People,
i have a strange behavior. Within my FE-Plugin i have a
instance of t3lib_flexformtools
$this->flexObj = t3lib_div::makeInstance('t3lib_flexformtools');
During the Script i create a FCE-XML for storing in the Database.
Iam using the method flexArray2Xml to convert Array into XML.
$this->flexObj->flexArray2Xml($flexArray,1); This mehtod writes the
XML-prologue to the XML.
$output = '<?xml version="1.0" encoding="'.$GLOBALS['LANG']->charSet.'"
standalone="yes" ?>';
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?
Kind regards
Stefan
More information about the TYPO3-dev
mailing list