1 Don't ever attempt to initialise a std::locale with a UTF-8 locale on Windows -*- Mode: Diff -*-
3 --- libs/locale/src/std/std_backend.cpp
4 +++ libs/locale/src/std/std_backend.cpp
9 + #if !defined(BOOST_WINDOWS)
12 utf_mode_ = utf8_native_with_wide;
14 - #if defined(BOOST_WINDOWS)
15 - else if(loadable(win_name)) {
17 + if(loadable(win_name)) {
19 utf_mode_ = utf8_from_wide;