Opened 12 years ago
Last modified 12 years ago
#4148 new Bugs
bootstrap.bat generates project-config.jam file as Unicode (UTF-16)
Reported by: | Owned by: | Vladimir Prus | |
---|---|---|---|
Milestone: | Boost 1.43.0 | Component: | build |
Version: | Boost 1.42.0 | Severity: | Problem |
Keywords: | Cc: |
Description
On modern Windows (that is using Unicode console by default) the bootstrap.bat generates project-config.jam file as Unicode (UTF-16).
Boost is not able to read this file and is writing: project-config.jam:1: syntax error at EOF
Solution is to modify bootstrap.bat to force the generation of ASCII file instead of Unicode:
Old line: ECHO using %toolset% ; > project-config.jam
New line: cmd /a /c ECHO using %toolset% ; > project-config.jam
This small change will force the usage of ANSI output.
Reference: http://www.netikka.net/tsneti/info/tscmd028.htm#ansivsunicode cmd /a /c echo using %toolset% ; > project-config.jam
Attachments (1)
Change History (3)
by , 12 years ago
Attachment: | bootstrap.bat added |
---|
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Component: | bjam → build |
---|---|
Owner: | changed from | to
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).