File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,16 +72,10 @@ std::locale createUtf8Locale()
7272 // On windows we want to enforce the encoding (mostly UTF8) so use boost to generate it
7373 return boost::locale::generator ().generate (" " );
7474}
75- #elif BOOST_OS_MACOS
75+ #elif BOOST_OS_MACOS || BOOST_OS_HAIKU
7676std::locale createUtf8Locale ()
7777{
78- // Don't change the locale on OSX. Using "" fails with 'locale::facet::_S_create_c_locale name not valid'
79- return LocaleHelper::getBfsDefaultLocale ();
80- }
81- #elif BOOST_OS_HAIKU
82- std::locale createUtf8Locale ()
83- {
84- // Don't change the locale on HAIKU. Using "" fails with 'locale::facet::_S_create_c_locale name not valid'
78+ // Don't change the locale on OSX or HAIKU. Using "" fails with 'locale::facet::_S_create_c_locale name not valid'
8579 return LocaleHelper::getBfsDefaultLocale ();
8680}
8781#else
You can’t perform that action at this time.
0 commit comments