Boost logo

Boost :

Subject: Re: [boost] Boost.Locale (was Re: [SQL-Connectivity] Is Boost, interested in CppDB?)
From: Anders Dalvander (boost_at_[hidden])
Date: 2010-12-14 13:22:23


On 14 Dec 2010 10:08, Eric Niebler<eric_at_[hidden]> wrote:

> Please, no. std::string is not an appropriate holder for a UTF-8 string.
> It encourages random-access mutation of any byte in a UTF-8 sequence,
> pretty much guaranteeing data corruption.
And std::wstring is not an appropriate holder for a UTF-16 string.

It encourages random-access mutation of any code unit in a UTF-16 sequence, pretty much guaranteeing data corruption.

// Anders Dalvander

-- 
WWFSMD?

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk