Comment 15 for bug 340394

Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 340394] Re: want an option to set the output encoding, especially on win32

Tim пишет:
> referring to #12
>
> As noted in the inital Q&A, I aim to retrieve the log by a scipt ( not interactive in windows console).
> Also, this approach is not cross-platform. e.g. when my sphinx project is run on linux, this cp1252 is not useful.

If you do it from the python script then it's mauch simpler for you to
import bzrlib and get log as unicode or utf-8 encoded string.