
14 Dec
2010
14 Dec
'10
6:22 p.m.
On 14 Dec 2010 10:08, Eric Niebler<eric@boostpro.com> 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?