Jump to content

HTMLentities Issue -- Dealing with Andpersands


shanejeffery86

Recommended Posts

Hey all.

 

I am storing a Flicker RSS feed URL in the database.  When I retrieve it from the database (bearing in mind that the database version of the feed URL is fine), it gets an odd character encoding.  Look at the character after @N00:

 

http://api.flickr.com/services/feeds/photoset.gne?set=72157605523931022&nsid=76298733@N00〈=en-us

 

The link should look like:

 

http://api.flickr.com/services/feeds/photoset.gne?set=72157605523931022&nsid=76298733@N00&lang=en-us

 

When I look at the view source for the ECHO, the source is the correct link.  So, I tried using 'htmlentities' and that seemed to have worked.  However, when I pass the new URL into CURL, it stills reads it as the odd character version.

 

Anyone have any ideas what the heck is going on?

 

Thank you.

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.