
15 Jun
2010
15 Jun
'10
3:59 p.m.
On Tue, Jun 15, 2010 at 10:08 AM, Steven Watanabe <watanabesj@gmail.com> wrote:
AMDG
Artyom wrote:
Question:
Can I write:
boost::filesystem::fstream f("שלום.txt",std::ios_base::out);
When "שלום.txt" is UTF-8 string and Unicode file name will be created? If so, way to go.
In v3, yes.
There are some caveats, but it should work, and there are some fairly similar test cases passing all compilers. To actually write the string literal like that, the compiler must accept UTF-8 in string literals, for example. On windows, the codepage has to be set to UTF-8. Those are issues that affect any solution, not just filesystem v3. --Beman