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 Problem with Special Characters?

Development and Programming

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

I am pulling a feed that mapgie will not validate because of the following line:

<description>One day last month, María Victoria Vindel gave her 15-year-old students what some parents called a shockingly graphic lecture on reproductive health: Slides of dismembered and disfigured fetuses interspersed with Biblical quotations and pictures of a grinning José Luis Rodríguez Zapatero, the Spanish prime minister.</description>

It appears that the characters with the accents: “í” and “é” invalidate the feed. Can we fix this? Magpie doesn’t read the feed but firefox and safari both read it fine.

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

The problem was the charset in the header. I had it set to:

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

but as soon as I changed it to the following my crashing feed was suddenly a-ok!

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
       
lukemcr's avatar
lukemcr
154 posts
16 years ago
lukemcr's avatar lukemcr

Awesome, thanks. That was bugging the crap out of me.

       

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.