Subject: Re: [boost] [General] Always treat std::strings as UTF-8
From: Patrick Horgan (phorgan1_at_[hidden])
Date: 2011-01-21 04:43:08
On 01/20/2011 03:46 PM, Chad Nelson wrote:
> ... elision by patrick
> For interaction with functions that require std::string, and presumably
> don't care about the encoding, it's convenient. Without it, using the
> UTF classes with such a function requires calling the std::string
> constructor with the element iterators. That's going to be a major need
> for the foreseeable future.
But if utf8_string, like std::string derives from basic_string, wouldn't
that just work?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk