$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Open a filename with a wstring or wchar_t *
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2010-08-02 08:03:06
On 02/08/10 12:46, Timothy Madden 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.
All of them but Microsoft Windows support UTF-8.
> Is there a (good) way to open a file with a wstring in boost ?
Boost.Fileystem has wide characters support, but I would advise avoiding
wide characters entirely.