469,638 Members | 1,552 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,638 developers. It's quick & easy.

parser error : Input is not proper UTF-8, indicate encoding

1
Try to read an rss file with:

[PHP]$file = trim($argv[1]);
$xml = simplexml_load_file($file);[/PHP]

My RSS-reader has no problem reading the file, but when I try to read it with simplexml_load_file I always get the error:

parser error : Input is not proper UTF-8, indicate encoding

What's wrong ?
Jun 11 '07 #1
1 16016
pbmods
5,821 Expert 4TB
Changed thread title to better describe the problem.

Heya, dpahl. Welcome to TSDN!

Have a look at this thread.

PS. Thanks for using CODE tags!
Jun 12 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

13 posts views Thread by Paulo Pinto | last post: by
2 posts views Thread by Andrew Ayers | last post: by
14 posts views Thread by WUV999U | last post: by
5 posts views Thread by Kenneth P | last post: by
6 posts views Thread by mahesh.kanakaraj | last post: by
11 posts views Thread by Jean-François Michaud | last post: by
5 posts views Thread by Johannes Bauer | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.