Solved

php encoding issue

Posted on 2009-06-29
2
206 Views
Last Modified: 2013-11-18
Hi,

I've created a basic php rss reader, and am trying to translate a utf-8 feedburner feed into ISO-8859-1 to embed in my website. I'm using utf8_decode() on the text I get back from the feed, however it doesn't seem to be working. Instead of getting â¬S for quotes and â¬" for apostrophe's, all of those characters are just converted into question marks. The same thing happens when I use mb_convert_encoding($entry->title,"ISO-8859-1", "UTF-8").  How can I get these characters to appear correctly?

Thanks


0
Comment
Question by:Armsbottomer
2 Comments
 
LVL 5

Accepted Solution

by:
Jagarm earned 500 total points
ID: 24736649
0
 

Author Closing Comment

by:Armsbottomer
ID: 31597944
Iconv did the trick. Cheers!
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now