Hi All,

If you goto the following url [ http://news.php.net/group.php?
group=php.general&format=rss ] in IE you'll get the error:

  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>&lt;a href=&quot;mailto:jose.leon%
40securitydata.es&quot;&gt;José_león_serna&lt;/a&gt;</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]

-- 
Dan Hardiker [[EMAIL PROTECTED]]
ADAM Software & Systems Engineer
First Creative Ltd



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to