18 Feb
2015
18 Feb
'15
12:44 p.m.
On 18/02/2015 12:57, Olaf van der Spek wrote:
Hi,
Does Boost have functions like htmlspecialchars and urlencode (from PHP)? If not, I think they'd make a nice addition to the string algorithm lib.
htmlspecialchars is just replacing < with <, > with > and & with & (optionally " with " and ' with ' as well). It's a trivial application of the replace algorithm to the world of HTML and XML. I'm not sure the string algorithm lib is the right place for it, maybe an XML lib would be better.