Solved

php encoding issue

Posted on 2009-06-29
2
212 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL several years ago, it seemed like now was a good time to update it for object-oriented PHP.  This article does that, replacing as much as possible the pr…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

728 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