Repository navigation
Description
Probably related to #2094
The feed at https://www.php.net/feed.atom contains some weird characters:
The theme of this edition is "次�����ら始�る。" (What's next starts here.)<br/>
This is just one example.
Here is a complete list from https://validator.w3.org/feed/check.cgi:
Sorry
This feed does not validate.line 3791, column 3: Undefined content element: p (22 occurrences) [help]
<p>ConFoo is back for its 23rd edition, at Hotel Bonaventure in Montreal, ...^
line 8767, column 4: Undefined content element: div (9 occurrences) [help]<div xmlns="http://www.w3.org/1999/xhtml"> ^line 11873, column 64: Invalid character in a URI: https://loop-run.io [help]
^ [line 17395](https://validator.w3.org/feed/check.cgi#l17395), column 15: Undefined content element: a [[help](https://validator.w3.org/feed/docs/error/UndefinedElement.html)]Speakers, <a href="https://cfp.phpconference.nl/">the call for papers</ ... ^line 17395, column 78: Unexpected Text (4 occurrences) [help]
Speakers, <a href="https://cfp.phpconference.nl/">the call for papers</ ... ^line 19682, column 0: Undefined content element: ul [help]
In addition, interoperability with the widest range of feed readers could be improved by implementing the following recommendations.
line 2, column 0: Use of unknown namespace: http://php.net/ns/news (996 occurrences) [help]
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:php="http://php.net/ns/news" ...
line 2, column 0: Use of unknown namespace: http://www.w3.org/2001/XInclude [help]<feed xmlns="http://www.w3.org/2005/Atom" xmlns:php="http://php.net/ns/news" ...
^ [line 36](https://validator.w3.org/feed/check.cgi#l36), column 42: p contains bad characters (66 occurrences) [[help](https://validator.w3.org/feed/docs/warning/BadCharacters.html)]
line 5, column 56: Self reference doesn't match document location [help]The theme of this edition is "次ã\x81¯ã€\x81ã\x81“ã\x81“ã\x81‹ã‚‰å§‹ã\x81¾ã‚‹ã€‚" (Wh ... ^line 128, column 36: Two entries with the same value for atom:updated: 2026-11-19T14:00:00+00:00 (5 occurrences) [help]
2026-11-19T14:00:00+00:00
^
line 1758, column 43: strong contains bad characters (17 occurrences) [help]<strong>Location: Unochapecó Noble Hall in Chapecó, Santa ... ^line 2240, column 15: li contains bad characters (23 occurrences) [help]
<li>ðŸ“\x8d Yale Yale A-kan 6th floor, Hiroshima, Japan</li> ^line 2822, column 2: Avoid Namespace Prefix: default [help]
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:default="http://www.w3.or ...
^
line 3860, column 53: a contains bad characters (15 occurrences) [help]Follow us on <a href="https://x.com/phpcon">ð\x9d•\x8f</a> <a href="https: ... ^line 9593, column 2: Use of unknown namespace: https://php.net/ns/news (3 occurrences) [help]
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:default="https://php.net/ ...
<title>SymfonyLive São Paulo 2019</title>
^
line 14155, column 22: title contains bad characters (2 occurrences) [help]
Activity
DanielRuf commentedon Nov 23, 2026
#2100 does at least not cover these things. To me it looks like unicode / utf8 encoding is not correctly applied.
sy-records commentedon Nov 26, 2026
Thank you for your feedback. The character issue is a browser problem; if you change the encoding to UTF-8, the page will load properly.
The other issues have been fixed in my new PR.
By the way, please don't submit multiple issues for the same problem; you can address it all in a single issue.
DanielRuf commentedon Nov 26, 2026
Ah ok. I was not sure because the other issue was already closed.
So it is fine then to add additional details to already closed issues?
sy-records commentedon Nov 26, 2026
Of course, you can just reopen #2094.
DanielRuf commentedon Nov 26, 2026
Regarding the invalid character (utf8 / unicode), it seems the response headers do not contain any utf8 encoding:
Not sure if this is only a problem for browsers or also for other clients.
Probably
application/atom+xml; charset=UTF-8makes it a bit better.DanielRuf commentedon Nov 26, 2026
How as non-member?
sy-records commentedon Nov 26, 2026
Oh, GitHub changed this behavior, so let's just ignore it.
Modifying the
Content-Typein the header may require @derickr