
23 Jan
2012
23 Jan
'12
10:15 p.m.
On Mon, Jan 23, 2012 at 4:47 AM, Beman Dawes <bdawes@acm.org> wrote:
On Mon, Jan 23, 2012 at 4:46 AM, Yakov Galka <ybungalobill@gmail.com> wrote:
As Artyom said you can imbue whatever locale you want to specify the conversion form narrow to wide strings. It will make almost all the conversions transparent, except that the path will still be stored as UTF-16 on windows.
So far, so good.
Unfortunately it boils to the interface whence you can get a c_str() to a UTF-16 string only.
That's not correct.
If you have a path p, and the imbued codecvt if UTF-8
How exactly do I imbue UTF-8 codecvt in a path? I Googled around and couldn't find anything. Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode