feeds.php and utf-8 problems in 1.2.8 (report)
Posted: Tue 5. Sep 2006, 11:16
I have utf-8 encoded site but feeds.php was constantly returning iso-8859-1 encong in the xml prologue.
Changing encoding to utf-8 in /config/phpwcms/feeds.ini.php didn't help either: i even got error saying that it cannot convert from utf-8 to utf-8. I think it's caused in the feeds.php lines 186 - 191 (function combinedParser - shouldn't that convertCharset only if they are different?).
Anyway, I couldn't make this work - the easiest solution wat to hardcode utf-8 in /include/inc_ext/feedcreator/feedcreator.class.php. Now it works OK, but this is rather clumsy solution.
I don't know where the problem is - maybe it's feedcreator, or maybe is my install of 1.2.8 (i think i have all the patches).
I just wanted to let Oliver know that there are some problems/bugs in this area of this excelent cms...
Changing encoding to utf-8 in /config/phpwcms/feeds.ini.php didn't help either: i even got error saying that it cannot convert from utf-8 to utf-8. I think it's caused in the feeds.php lines 186 - 191 (function combinedParser - shouldn't that convertCharset only if they are different?).
Anyway, I couldn't make this work - the easiest solution wat to hardcode utf-8 in /include/inc_ext/feedcreator/feedcreator.class.php. Now it works OK, but this is rather clumsy solution.
I don't know where the problem is - maybe it's feedcreator, or maybe is my install of 1.2.8 (i think i have all the patches).
I just wanted to let Oliver know that there are some problems/bugs in this area of this excelent cms...