From 7f6130d51dbb573f570e7915cc973947cefc938d Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 18 Feb 2007 06:47:40 +0000 Subject: [PATCH] Fix BSXml to work in accordance with the unit test; apparently utf8_encode() isn't necessary --- Xml.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Xml.php b/Xml.php index d98fdf3..991832f 100644 --- a/Xml.php +++ b/Xml.php @@ -86,7 +86,7 @@ class BSXml * Parse an XML file * * @param string XML file data - * @param string Parse file as UTF-8 instead of ISSO-8859-1 + * @param bool Parse file as UTF-8 instead of ISSO-8859-1? * * @return array Array with all the XML data parsed */ @@ -96,7 +96,6 @@ class BSXml if ($utf8) { - $data = utf8_encode($data); $parser->parser = xml_parser_create('UTF-8'); } else -- 2.43.5