Re: strange character

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ashley Sheridan:

> On 27 February 2015 14:36:50 GMT+00:00, hadi <almarzuki2011@xxxxxxxxxxx> wrote:
>>
>> Here is the web site im getting error while trying to download rss feed
>>from it.
>> http://www.sahafah.net/rss.php
> 
> I've had a look at the RSS feed and it is set to utf-8, both in the xml declaration and the http headers.
> 
> I have to assume the broken characters are because of something in your script. Are you sure your PHP is saved into a utf-8 format? 

No, the feed is not properly UTF-8 encoded.  Have a look at it with
Google Chrome, for instance:

| This page contains the following errors:
|
| error on line 240 at column 208: Encoding error

As I already said elsewhere in this thread, hadi would have to strip out
the bad UTF-8 character sequences.  Or maybe inform the provider of the
feed about the error.

-- 
Christoph M. Becker


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux