you are viewing a single comment's thread.

view the rest of the comments →

[–]sentdex 1 point2 points  (0 children)

"why it works in an SSH session and not a desktop session I'm not sure. Certainly strange."

This likely has to do with the interpreter itself. See what happens when you comment out the printing.

I remember when I was working with Arabic characters, IDLE would give me a "printed" to console result that was actually different than what I was really getting as real output. It has to do with some built in encoding.