nickstenning/honcho — pull request #76 by ratazzi (2014-07-24 10:16:11+00:00)
Title: fix UnicodeEncodeError when environment variables PYTHONUNBUFFERED=true

In Non-English environment
PYTHONUNBUFFERED=true honcho start web

Traceback (most recent call last):
File "app_main.py", line 75, in run_toplevel
File ".virtualenv/bin/honcho", line 9, in
load_entry_point('honcho==0.5.0', 'console_scripts', 'honcho')()
File "/Users/ratazzi/workspace/stats/.virtualenv/site-packages/honcho/command.py", line 315, in main
app.parse()
File "/Users/ratazzi/workspace/stats/.virtualenv/site-packages/honcho/command.py", line 129, in parse
options.func(self, options)
File "/Users/ratazzi/workspace/stats/.virtualenv/site-packages/honcho/command.py", line 197, in start
sys.exit(process_manager.loop())
File "/Users/ratazzi/workspace/stats/.virtualenv/site-packages/honcho/process.py", line 118, in loop
print(line, end='', file=proc.printer)
File "/Users/ratazzi/workspace/stats/.virtualenv/site-packages/honcho/printer.py", line 22, in write
self.output.write(*new_args, **kwargs)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 27-29: ordinal not in range(128)