]> git.mjollnir.org Git - s9y.git/commitdiff
Try to Fix PHP5 bug with charset interpretation
authorgarvinhicking <garvinhicking>
Thu, 14 Jul 2005 12:52:11 +0000 (12:52 +0000)
committergarvinhicking <garvinhicking>
Thu, 14 Jul 2005 12:52:11 +0000 (12:52 +0000)
plugins/serendipity_event_spartacus/serendipity_event_spartacus.php

index bf0eee3f43e0ce8b4f644e92df1d4987ba18f491..097b405cc109b548c8c0211e5f32891ff9874f05 100644 (file)
@@ -63,7 +63,7 @@ class serendipity_event_spartacus extends serendipity_event
         $propbag->add('description',   PLUGIN_EVENT_SPARTACUS_DESC);
         $propbag->add('stackable',     false);
         $propbag->add('author',        'Garvin Hicking');
-        $propbag->add('version',       '2.0');
+        $propbag->add('version',       '2.01');
         $propbag->add('requirements',  array(
             'serendipity' => '0.9',
             'smarty'      => '2.6.7',
@@ -257,6 +257,7 @@ class serendipity_event_spartacus extends serendipity_event
                 }
                 
                 if ($decode_utf8) {
+                    $data = str_replace('<?xml version="1.0" encoding="UTF-8" ?>', '<?xml version="1.0" encoding="' . LANG_CHARSET . '" ?>', $data);
                     $this->decode($data);
                 }