Lukáš Lalinský пишет: > The problem is that it tries to write to raw stdout, which works > properly if stdout is a terminal, because it can detect which encoding > should be used. But Python doesn't do this for redirected output and > assumes 'ascii' instead. The attached patch fixes this problem. bb:approve