[TYPO3-dev] UTF8 problem when parsing XML data...
Oliver Wand
wand at itaw.de
Wed Jul 12 16:29:06 CEST 2006
Martin Kutschker wrote:
> You mean with the SVN version?
Wouldn´t help actually, I can´t use an SVN version in this case :-)
> Anyway, he doesn't tell where it is displayed wrong and how he retrieves
> and displays the data.
The data is fetched from an XML file using simple_xml and the php array
is simply parsed to $content:
[...]
$xml = simplexml_load_file($xmlFile);
foreach ($xml->LocationInfo as $item) {
$content .= $item->Company;
[...]
As I told before, generally works like charm but with special-chars
something wild seems to be happening ;-)
Oliver
More information about the TYPO3-dev
mailing list