Boost logo

Boost Users :

Subject: [Boost-users] boost::filesystem::path in UTF-8 on Windows
From: John M. Dlugosz (mpbecey7gu_at_[hidden])
Date: 2011-11-03 19:24:04


If I have a string that is in UTF-8, how do I tell the path constructor?

    path p1 ("my utf8 data", SOME_CODECVT);

I think it is a matter of passing the right SOME_CODECVT. What is it?
The |path::value_type| is |wchar_t, according to the docs.

—John

|



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net