Boost C++ Libraries: Ticket #11967: Support default ansi encoding with winapi backed https://svn.boost.org/trac10/ticket/11967 <p> Please suport ansi encoding for this scenario or at least throw exception </p> <pre class="wiki">boost::locale::generator gen; gen.use_ansi_encoding(true); locale_ = gen(""); </pre><p> It is suprizing when you get UTF-8 in this situation </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11967 Trac 1.4.3 Artyom Beilis Tue, 09 Feb 2016 09:24:16 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/11967#comment:1 https://svn.boost.org/trac10/ticket/11967#comment:1 <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">wontfix</span> </li> </ul> <p> See: <a href="http://www.boost.org/doc/libs/1_51_0/libs/locale/doc/html/default_encoding_under_windows.html">http://www.boost.org/doc/libs/1_51_0/libs/locale/doc/html/default_encoding_under_windows.html</a> </p> <p> Not all backends support ANSI encoding - you can use std backend and it would work if compiler supports one, </p> <p> also ANSI encoding is really not the way to do localization. </p> Ticket