We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Problem with special characters in Feedgrab and Magpie

Development and Programming

Peter Hampus's avatar
Peter Hampus
30 posts
17 years ago
Peter Hampus's avatar Peter Hampus

I use both Feedgrab and Magpie and see the same problems with special characters such as å, ä and ö.

It can be solved with the exp:replace plugin for Magpie, but when I use Feedgrab I populate the database with wrong encoded characters.

I have tried to change encoding settings both in the weblog, and when calling Magpie but I do not notice any difference.

I must use this to display it correctly on web:

{exp:replace find="ö|Ã¥|ä|Â|Ö|/" replace="ö|å|ä||Ö|/SPACE" multiple="yes"}{title}{/exp:replace}

This is how I call magpie:

{exp:magpie url="http://feeds.findagent.se/feeds/1783/byggchef_jobbfeed_rss.xml" refresh="720" feed_type="rss" feed_version="2.0" convert_entities="y" encoding="ISO-8859-1" convert_encoding="y"}

Here is the page with strange characters replaced:

http://bc.hampusmedia.se/index.php/lediga-jobb/index/

This is the same page without replace: http://bc.hampusmedia.se/index.php/lediga-jobb/lediga-jobb-noreplace/

This is the feed: http://feeds.findagent.se/feeds/1783/byggchef_jobbfeed_rss.xml

What am I missing? Am I the only one seeing these problems ‘cause I can not find any other post regarding it.

       
Yvonne Martinsson's avatar
Yvonne Martinsson
204 posts
17 years ago
Yvonne Martinsson's avatar Yvonne Martinsson

I don’t pull in any feeds in Swedish, but remember having some problems too with other characters. My feed differs from yours in encoding where I use utf-8. I think you should try it out.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.