Boost C++ Libraries: Ticket #4148: bootstrap.bat generates project-config.jam file as Unicode (UTF-16) https://svn.boost.org/trac10/ticket/4148 <p> On modern Windows (that is using Unicode console by default) the bootstrap.bat generates project-config.jam file as Unicode (UTF-16). </p> <p> Boost is not able to read this file and is writing: project-config.jam:1: syntax error at EOF </p> <p> Solution is to modify bootstrap.bat to force the generation of ASCII file instead of Unicode: </p> <p> Old line: ECHO using %toolset% ; &gt; project-config.jam </p> <p> New line: cmd /a /c ECHO using %toolset% ; &gt; project-config.jam </p> <p> This small change will force the usage of ANSI output. </p> <p> Reference: <a class="ext-link" href="http://www.netikka.net/tsneti/info/tscmd028.htm#ansivsunicode"><span class="icon">​</span>http://www.netikka.net/tsneti/info/tscmd028.htm#ansivsunicode</a> cmd /a /c echo using %toolset% ; &gt; project-config.jam </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4148 Trac 1.4.3 Sorin Sbarnea <sorin.sbarnea@…> Sat, 24 Apr 2010 20:18:39 GMT attachment set https://svn.boost.org/trac10/ticket/4148 https://svn.boost.org/trac10/ticket/4148 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">bootstrap.bat</span> </li> </ul> Ticket Sorin Sbarnea <sorin.sbarnea@…> Sat, 24 Apr 2010 20:20:57 GMT <link>https://svn.boost.org/trac10/ticket/4148#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4148#comment:1</guid> <description> <p> I attached a patched bootstrap.bat that solved the above problem. In addition this also solves the invalid bjam.log generated from the same reason (content combined UTF-16 and ANSI). </p> </description> <category>Ticket</category> </item> <item> <dc:creator>René Rivera</dc:creator> <pubDate>Thu, 31 Mar 2011 00:57:51 GMT</pubDate> <title>owner, component changed https://svn.boost.org/trac10/ticket/4148#comment:2 https://svn.boost.org/trac10/ticket/4148#comment:2 <ul> <li><strong>owner</strong> changed from <span class="trac-author">René Rivera</span> to <span class="trac-author">Vladimir Prus</span> </li> <li><strong>component</strong> <span class="trac-field-old">bjam</span> → <span class="trac-field-new">build</span> </li> </ul> Ticket