Boost logo

Boost :

Subject: Re: [boost] [General] Always treat std::strings as UTF-8?
From: Peter Dimov (pdimov_at_[hidden])
Date: 2011-01-14 10:52:06


Alexander Lamaison wrote:
> Windows can't give you a narrow string in the first place that it can't
> accept back.

It can, and it does. You can have a file whose name can't be represented as
a narrow string in the current code page. If you use an "ANSI" function to
get its name, you can only receive an approximation of its real name. If you
use the "wide" function, you get its real name.


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