I just had a heap of trouble understanding what was happening while debugging a UnicodeDecodeError with print statements.
I was confusing myself with crazy theories but in the end the problem was just that printing a particular string hangs:
print '\xe6\x9c\xaa\xe5\x91\xbd\xe5\x90\x8d.jpg'
What causes it to hang?
What should I be using instead to print to the console? print repr(x)?
It works ok on linux for me
What console are you using? perhaps it has a bug