Solved

php encoding issue

Posted on 2009-06-29
2
208 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will learn how to dynamically set the form action using jQuery.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

777 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