1 Jul
2004
1 Jul
'04
11:34 a.m.
Vladimir Prus wrote:
For example, you surely want to create boost::path from Unicode string. Do you want to create them from ascii string?
Yes.
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.