
I use : typedef boost::filesystem::wpath SlmWPath; typedef boost::filesystem::wfstream SlmWfstream; typedef boost::filesystem::wofstream SlmWOfstream; typedef boost::filesystem::wifstream SlmWIfstream; then you can use wchar, I have not tested with non asci filenames though. On Mon, Aug 2, 2010 at 11:46 AM, Timothy Madden <terminatorul@gmail.com> wrote:
Hello
Surprisingly enough, C++ file-based streams can be opened with a char * string (for the filename) only, while modern computer systems have Unicode filenames. I see boost::iostreams::basic_file also gets constructed from a char * only.
My project name has Korean characters, and I work on a Latin1 Windows system, and on my system the narrow-characters set simply does not contain Korean characters.
Is there a (good) way to open a file with a wstring in boost ?
Thank you, Timothy Madden
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users