Fixed stdout encoding bug for vt100 output.
Fixed stdout encoding bug for vt100 output.

jonathanslenders/python-prompt-toolkit,niklasf/python-prompt-toolkit,ddalex/python-prompt-toolkit,amjith/python-prompt-toolkit,ALSchwalm/python-prompt-toolkit,melund/python-prompt-toolkit