Boost logo

Boost :

Subject: Re: [boost] wfopen
From: Václav Haisman (v.haisman_at_[hidden])
Date: 2010-12-13 04:12:57


 On Sun, 12 Dec 2010 20:58:06 -0500, Christian Henning wrote:
> Hi there, one of the requirements for me to fix before I include
> io_new to boost is to support opening files with unicode filenames.
> As
> far as I can see there is _wfopen on Windows platforms. What's the
> one
> for Linux and co?
 There isn't any such thing on Linux or elsewhere. You have to convert
 the file name using current locale and give it to fopen() and hope for
 the best.

>
> I'm a bit puzzled that no boost lib seems to use _wfopen. I searched
> all files. Is there something better?

-- 
 VH

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk