1 Don't ever attempt to initialise a std::locale with a UTF-8 locale on Windows -*- Mode: Diff -*-
3 --- libs/locale/src/boost/locale/std/std_backend.cpp
4 +++ libs/locale/src/boost/locale/std/std_backend.cpp
7 utf_mode_ = utf8_support::none;
9 + #if !defined(BOOST_WINDOWS)
12 utf_mode_ = utf8_support::native_with_wide;
14 utf_mode_ = utf8_support::from_wide;
17 -#if defined(BOOST_WINDOWS)
18 - else if(loadable(win_name))
20 + if(loadable(win_name))
23 utf_mode_ = utf8_support::from_wide;