https://src.bluestatic.org
/
isso.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c983ca
)
In xml.php, the default should be utf8 and when using it, we don't want to call utf8_...
author
Robert Sesek <rsesek@bluestatic.org>
Sat, 7 Jul 2007 22:41:16 +0000
(22:41 +0000)
committer
Robert Sesek <rsesek@bluestatic.org>
Sat, 7 Jul 2007 22:41:16 +0000
(22:41 +0000)
xml.php
patch
|
blob
|
history
diff --git
a/xml.php
b/xml.php
index d81718efa5ac27071be7faeba16ef05bdc8764c1..6a69bced2d49c758be604664aee006f3bf2281b5 100644
(file)
--- a/
xml.php
+++ b/
xml.php
@@
-117,7
+117,7
@@
class XML
*
* @return array Array with all the XML data parsed
*/
- function parse($data, $utf8 =
fals
e)
+ function parse($data, $utf8 =
tru
e)
{
$this->stack = array();
$this->attribs = array();
@@
-126,7
+126,6
@@
class XML
if ($utf8)
{
- $data = utf8_encode($data);
$this->parser = xml_parser_create('UTF-8');
}
else