fixed encoding bug in ipy_repl
Merge pull request #306 from simonzack/master

Small encoding bug fix for ipython repl