# Decoding HTML and the Ambiguous Ampersand

- Thread: https://externals.io/message/124977
- Original archive: https://news-web.php.net/php.internals/124977
- Started by Rob Landers on 2024-08-16T14:38:15+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #124977 — Rob Landers — 2024-08-16T14:38:15+00:00

URL: https://externals.io/message/124977#124977

> 
> > […]
> 
> All,
> 
> I have submitted an RFC draft for including the proposed feature from this issue. Thanks to everyone who helped me in this process. It’s my first RFC, so I apologize in advance for any mistakes I’ve made in the process.
> 
> https://wiki.php.net/rfc/decode_html
> 
> This is proposed for a future PHP version after 8.4.
> 
> Warmly,
> Dennis Snell

Hey Dennis,

The RFC mentions that encoding must be utf-8. How are programmers supposed to work with this if the php file itself isn’t utf-8 or the input is meaningless in utf-8 or if changing it to utf-8 and back would result in invalid text?

— Rob
