[interprocess] mapped_file with wide filename on Windows

Could the mapped_file constructor allow a wchar_t filename on Windows? Or some cross-platform way to get Unicode support? -- Cory Nelson http://int64.org

2009/10/20 Ion Gaztañaga <igaztanaga@gmail.com>:
Cory Nelson escribió:
Could the mapped_file constructor allow a wchar_t filename on Windows? Or some cross-platform way to get Unicode support?
I'll see how could I add this, but I think you'll need to convert your wchar_t to utf-8 for the moment,
I've looked at the internals and noticed it uses the codepage APIs from Windows, so UTF-8 won't work right now without some changes. I would not be adverse toward this becoming a supported feature though, with it converting and calling the correct Unicode APIs behind the scenes. I'd be happy to supply a patch for this if you are interested in including it. -- Cory Nelson http://int64.org
participants (2)
-
Cory Nelson
-
Ion Gaztañaga