Solved

php encoding issue

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MySqli Real Escape String and SQL Injection 1 49
How to build a web site 17 59
Echo'd values in dropdowns 6 30
How to hide contact form only if no validation errors 4 29
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

726 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