Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#154 Tiki rss modules with international encoding

open
nobody
None
5
2012-12-08
2004-12-02
No

Importing a non utf-8 rss feed without this patch make
the rss modules show strange characters, not correclty
viewed by browsers.
With this patch is possibile to import iso-8859-15,
iso-8859-1 and other encoding feeds, correctly
trasformed into utf-8 (wich is the only encoding
possibile with tikiwiki).

The encoding is taken from the xml feed file, like this:

<?xml version="1.0" encoding="iso-8859-15"?>

This patch is designed for tikiwiki-1.9.RC3, but I
didn't try to use it with other versions (it should
work if the only file I modded -./lib/rss/rsslib.php-
is the same as the 1.9-rc3 version).

Discussion