Your comments

I have the same problem reading a file with German characters. Run it in Textmate works perfectly, on Sublime Text 2 I've got the same error line on the console:
"UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 16: ordinal not in range(128)".