Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2004-07-01 06:34:34

Vladimir Prus wrote:
> For example, you surely want to create boost::path from Unicode
> string. Do you want to create them from ascii string?


> What encoding that ascii string should be in?

Implementation (OS) defined (by 'ASCII string' you mean narrow string, I
presume, since ASCII _is_ an encoding).

> Would you want to convert unicode path back to ascii?

There is no such thing as an "Unicode path". A path is a path. A path
constructed from a wide string should be able to give you a narrow string,
but whether this narrow string will construct the same path is
implementation defined.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at