20
LANG=en_US.UTF-8 bin/py src/lp2kanban/bugs2cards.py -c ${1}.ini
20
# default encoding of stdout/stderr when not attached to a terminal is set to
21
# 'None'. 'PYTHONIOENCODING' overrides, could also be overridden in the
22
# python program by modifying 'sys.stdout.encoding' directly. This feels
23
# cleaner. Note setting LANG (which the terminal respects) wont fix this,
24
# since there is no terminal attached.
27
# - https://wiki.python.org/moin/PrintFails
28
# - https://stackoverflow.com/questions/1473577
29
# - https://stackoverflow.com/questions/492483
30
# - https://stackoverflow.com/questions/9932406
31
PYTHONIOENCODING="utf-8" bin/py src/lp2kanban/bugs2cards.py -c ${1}.ini