Boost C++ Libraries: Ticket #13289: Generating default locale from envronment variables (LC_ALL, LANG) is in wrong order https://svn.boost.org/trac10/ticket/13289 <p> When generating locale with empty string, we infer the locale from the environment variables. The current order is </p> <ol><li>LC_CTYPE </li><li>LC_ALL </li><li>LANG </li></ol><p> As per POSIX, see chapter 8.2, and linux man-pages, see man locale.7 (can't post links, the system forbids) the order should be </p> <ol><li>LC_ALL </li><li>LC_CTYPE </li><li>LANG </li></ol><p> The fix is trivial in the function <code>boost::locale::util::get_system_locale()</code> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13289 Trac 1.4.3 Dimitrij Mijoski <dmjpp@…> Mon, 06 Nov 2017 14:56:36 GMT <link>https://svn.boost.org/trac10/ticket/13289#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13289#comment:1</guid> <description> <p> Patch posted on github <a class="ext-link" href="https://github.com/boostorg/locale/pull/22"><span class="icon">​</span>https://github.com/boostorg/locale/pull/22</a> </p> </description> <category>Ticket</category> </item> </channel> </rss>