Forums / Developer / RSS import text encoding

RSS import text encoding

Author Message

Franck Grenier

Thursday 11 February 2010 2:22:00 am

Hello,

I import content from RSS feeds. Everything works fine, excepted an encoding issue on special caracters. My site uses UTF-8, the feeds use ISO.

The apostrophe (`) and other special symbols are replaced by squares.

How can I correct that without having to modify each imported node ?

Developer at Open Wide

Franck Grenier

Tuesday 23 February 2010 12:26:40 am

The problem came from charset cp1252, from Microsoft Word. Then, I modified the rssimport.php cronjob and added this function :

http://www.php.net/manual/en/function.utf8-encode.php#88329

Resolved.

Developer at Open Wide