Subject: Re: [boost] htmlspecialchars and urlencode?
From: Olaf van der Spek (ml_at_[hidden])
Date: 2015-02-20 02:25:00
On Wed, Feb 18, 2015 at 1:44 PM, Mathias Gaunard
> On 18/02/2015 12:57, Olaf van der Spek wrote:
>> 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.
Does Boost have a XML lib?
I don't really mind in what lib such a function would be created.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk