Re: news.php.net rss requires encoding type, doesnt parse as XML in IE
| From: | Gabor Hojtsy | Date: | Thu, 02 May 2002 15:17:03 +0000 |
| Subject: | Re: news.php.net rss requires encoding type, doesnt parse as XML in IE | ||
| References: | 1 2 | Groups: | php.dev php.mirrors |
| Request: | Send a blank email to php-dev+get-83610@lists.php.net to get a copy of this message | ||
> An invalid character was found in text content. Error processing
> resource
> 'http://news.php.net/group.php?group=php.general&format=rss'.
Line
> 95, Position 78
>
> with line 95 being
>
> <description><a href="mailto:jose.leon%
> 40securitydata.es">José_león_serna</a></description>
>
> Its the accent on the e and o's (which are native to many west-european
> languages). The solution is simple, set the encoding type.
>
> Replace <?xml version="1.0" standalone="yes"?> with something along
> the
> lines of <?xml version="1.0" encoding="iso-8859-1"
> standalone="yes" ?>.
> Setting it to UTF-8 would also be compatable with other languages outside
> of the european group.
>
> [please note: Im no expert or resource on the different encoding methods
> but this appears to be the problem]
Thanks for the report, a correct encoding attribute
was added.
Goba [one webmaster@php.net]