Add Python3 compatibility
fix Python3 compatibility
Fix TypeError on line 612, in show_text
Fix TypeError on line 108, in run
Fix TypeError on line 694, in show_login
Fix TypeError on line 169, in data_get_str
Fix TypeError on line 725, in show_characters
Fix TypeError on line 593, in show_text
Fix TypeError on lines 511-512, in render
Decode byte array text from server as UTF-8
Use ascii encoding
Remove deprecation by commit 3951b51
Merge pull request #5 from mamoru/master

Some Python3 fixes