Boost C++ Libraries: Ticket #1458: Darwin Tiger throws std::runtime_error: locale::facet::_S_create_c_locale name not valid https://svn.boost.org/trac10/ticket/1458 <p> ... in test 15 at <a class="ext-link" href="http://beta.boost.org/development/tests/trunk/developer/output/jrp-darwin-boost-bin-v2-libs-filesystem-test-fstream_test-test-darwin-debug-link-static.html"><span class="icon">​</span>http://beta.boost.org/development/tests/trunk/developer/output/jrp-darwin-boost-bin-v2-libs-filesystem-test-fstream_test-test-darwin-debug-link-static.html</a> </p> <p> I have </p> <p> LANG=en_GB.UTF-8 </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1458 Trac 1.4.3 John Pavel <jrp@…> Sat, 17 Nov 2007 23:04:05 GMT <link>https://svn.boost.org/trac10/ticket/1458#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1458#comment:1</guid> <description> <p> <a class="ext-link" href="http://beta.boost.org/development/tests/trunk/developer/output/jrp-darwin-boost-bin-v2-libs-filesystem-test-wide_test-test-darwin-debug-link-static.html"><span class="icon">​</span>http://beta.boost.org/development/tests/trunk/developer/output/jrp-darwin-boost-bin-v2-libs-filesystem-test-wide_test-test-darwin-debug-link-static.html</a> also fails with the same diagnostic </p> </description> <category>Ticket</category> </item> <item> <author>dirk@…</author> <pubDate>Wed, 14 May 2008 09:08:10 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/1458#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1458#comment:2</guid> <description> <p> I believe this also happens with the following piece of code: </p> <p> int main() </p> <p> { </p> <blockquote> <p> std::locale::global(std::locale("")); </p> </blockquote> <blockquote> <p> <em> choke </em></p> </blockquote> <p> It seems osx/bsd only supports "C" and "POSIX" (there are some post on the web saying this), which is sort of strange - why should this be and OSX does support unicode (how?) </p> <p> Could this be fixed in any way? Or does Apple need to do something (I'd rather not compile my own gcc) </p> <p> Best, Dirk </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Beman Dawes</dc:creator> <pubDate>Wed, 15 Apr 2009 15:33:11 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/1458#comment:3 https://svn.boost.org/trac10/ticket/1458#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> This is a known problem with MacOS and std::locale(""). I've added a workaround to use std::locale() instead. </p> Ticket