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

Magpie character encoding for quotes

Development and Programming

Kevin Werbach's avatar
Kevin Werbach
5 posts
17 years ago
Kevin Werbach's avatar Kevin Werbach

I’m using Magpie to pull in feeds on:

http://www.supernova2008.com/go/testindex

The quotation marks aren’t encoding properly. I’ve tried all the fixes I can find in the forums without success. It’s a Feedburner feed, so both the feed and the blog are encoded with UTF-8.

       
ErwinVanLun's avatar
ErwinVanLun
235 posts
17 years ago
ErwinVanLun's avatar ErwinVanLun

Hi Kevin,

I’m experiencing the same kind of problems. Did you find a solution in the two years between?

This post has 250 views, but no solution is posted. If I find somehting I’ll let it know here!

Erwin

       
IMDadmin's avatar
IMDadmin
35 posts
16 years ago
IMDadmin's avatar IMDadmin

Anyone else seen this problem? Magpie seems to turn quotes or other characters like

“

into bizarre characters when it renders, though it only seems to do so in the title field. I have an RSS feed in which I am encoding the titles via the {exp:xml_encode} tag, but when magpie retrieves and displays it, it mauls quotes and double-quotes something awful. Should I be encoding the titles in a different way?

If I use PHP’s htmlentities call on the titles in the RSS template, that fixes it in Magpie as it PHP converts the & to the HTML entity, but then hurts the feed’s display in an RSS reader since the feed then renders the

&#8220

as literal text.

       
ErwinVanLun's avatar
ErwinVanLun
235 posts
16 years ago
ErwinVanLun's avatar ErwinVanLun

I’ve experience major problems with RSS feeds (not validating feeds), map pie errors and even crashes.

THE solution was the convert the total EE installation, all databases to UTF-8. Now, even chinese characters work without any problem!

       
Narthex's avatar
Narthex
83 posts
16 years ago
Narthex's avatar Narthex

Awesome! This helped so much! I changed the following line of code in my header and suddenly an oft-crashing feed works perfectly!

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

Thanks a million, N+

       

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.