I've been annoyed at the divergent and fragmented implementations of html_encode_string, http_decode_string, etc. in Pike for quite some time.
This is what it looks like today, afaik:
encode: decode: --------------------------------------------------- html | _Roxen.html_encode_string Protocols.HTTP.unentity (partial) http | Protocols.HTTP.http_encode_string _Roxen.http_decode_string xml | - -
Where should we put these methods instead? Standards.{HTTP,HTML,XML}? Somewhere else?