Subject: Re: [boost] boost::filesystem -- using non-POSIX locale crashes on Solaris
From: Jookia (166291_at_[hidden])
Date: 2012-08-26 05:56:04
On 26/08/12 19:15, Artyom Beilis wrote:
> I think it is related to this ticket:
> Note: under Solaris, the libstdc++ library does not
> support any locales besides C and POSIX due to lack to the native OS API.
> In general there are many locale related design issues in boost::filesystem.
> Using locale for POSIX OS API when you don't actually use wide API is
> inherently wrong under POSIX platforms:
>> My question is though, whether it is possible to use boost::filesystem
>> without locales? Meaning, if I know my string is a UTF-8 string, is
>> it possible to avoid the locale processing within the boost
Have you tried the Boost.Locale library? It allows Boost.Filesystem to
use UTF-8 paths, at least from what I understand. In fact, that's
something I need to go pry apart.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk