Subject: Re: [Boost-build] bjam output ?????, why?language setting?
From: Gevorg Voskanyan (v_gevorg_at_[hidden])
Date: 2010-04-15 10:01:10
l.jay Yuan wrote:
> bjam output ?????, why?language setting?
> I build bjam use msvc9.0.
> I am working on win server 2003,x86, 32bit.
> My language is chinese.
> I use bjam -a.
> common.copy main.exe
> ?????? 1 ????????
> ...updated 3 targets...
I am sure this ????? output is produced not by bjam itself, but the standard windows COPY command that Boost.Build's common.copy rule's action invokes. I guess COPY tries to print the Chinese translation of "1 file(s) copied", but as windows console is notorious for its very bad (if any) support for unicode, '?' characters are displayed. Does the same happen when you directly use COPY in the command prompt?
Also it would be interesting to redirect bjam's output to a file to see what is actually printed, e.g.
bjam -a > out.txt
Then open out.txt in a text editor and, given the proper font, I think the characters should be correctly displayed.
Please let us know your findings :)
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk