title: UnicodeEncodeError when using python from ssh
body: <p>I made a small application that prints unicode special characters(i.e. superscript, subscript...). When it runs locally there are no problems but when it runs in a ssh session I always get a UnicodeEncodeError. 
  Specifically: <code>UnicodeEncodeError 'ascii' can't encode characters in position 0-1: ordinal not in range(128)</code>
  I tried different ssh clients, computers and double checked the sessions encoding but the result is the same.
  This is really weird. Why does this happen? Is this really related to ssh?</p>