Boost logo

Boost :

Subject: [boost] boost::filesystem -- using non-POSIX locale crashes on Solaris
From: JonathonS (thejunkjon_at_[hidden])
Date: 2012-08-25 21:51:23


I am currently using boost::filesystem::path on Solaris, and I noticed
that if I set the locale to anything except "C" or "POSIX" such as
"en_US.UTF-8", that it crashes i.e. a run-time error gets thrown. I
found a link describing the issue here:

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


Boost list run by bdawes at, gregod at, cpdaniel at, john at