Issue #16 says unicode support doesn't exist, which is true. Turns out that the encoding of open and stdout has to be changed, using the io library (thank you Buck!).
This commit fixes that by changing open to io.open(..., encoding='utf-8') and the like.
Issue #16 says unicode support doesn't exist, which is true. Turns out that the encoding of
open
andstdout
has to be changed, using theio
library (thank you Buck!).This commit fixes that by changing
open
toio.open(..., encoding='utf-8')
and the like.