From ca83aa54ed99ca9f291c39d511910cdc30c3f7e4 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Sat, 25 Sep 2004 16:22:25 +0000 Subject: [PATCH] Updated xmilze to official new 1.0.1 version (it's 'our' version with some comments). Merged from MOODLE_14_STABLE --- lib/xmlize.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/xmlize.php b/lib/xmlize.php index db9df07854..3b2c570fcd 100644 --- a/lib/xmlize.php +++ b/lib/xmlize.php @@ -17,6 +17,16 @@ * structure of the array, it's much easier to explain by showing you. * Be aware that the array is somewhat tricky. I use xmlize all the time, * but still need to use traverse_xmlize quite often to show me the structure! + + ## THIS IS A PHP 5 VERSION: + + > attached is the modified script. Basically it has a new optional parameter + > to specify an OUTPUT encoding. If not specified, it defaults to UTF-8. + > I recommend you to read this PHP bug. There you can see how PHP4, PHP5.0.0 + > and PHP5.0.2 will handle this. + > http://bugs.php.net/bug.php?id=29711 + > Ciao, Eloy :-) + ## * */ @@ -162,4 +172,3 @@ function traverse_xmlize($array, $arrName = "array", $level = 0) { } ?> - -- 2.39.5