Boost logo

Boost :

Subject: Re: [boost] [General] Always treat std::strings as UTF-8
From: Alexander Lamaison (awl03_at_[hidden])
Date: 2011-01-14 11:07:55

On Fri, 14 Jan 2011 10:59:09 -0500, Dave Abrahams wrote:
> Also, is there any use in trying to get the difference into the type
> system, e.g. by using some kind of wrapper over std::string that gives
> it a distinct "utf-8" type?

I would love to see something like this because as things stand it is far
too easy to forget that narrow strings (and wide strings for that matter)
aren't all alike and often need converting even when the character width
doesn't change.


Easy SFTP for Windows Explorer (

Boost list run by bdawes at, gregod at, cpdaniel at, john at