##// END OF EJS Templates
Catch UnicodeDecodeError from file lying about its encoding...
Catch UnicodeDecodeError from file lying about its encoding Closes gh-9954 I'd like to show a more useful error, but we're several layers away from the code that knows the filename, and I don't want to duplicate a load of code from the traceback module. This prevents it from crashing IPython, at least.

File last commit:

r11067:5076556c
r22880:168364a7
Show More
nonascii2.py
4 lines | 155 B | text/x-python | PythonLexer
# coding: iso-8859-5
# (Unlikely to be the default encoding for most testers.)
# БЖџрстуфхцчшщъыьэюя <- Cyrillic characters
'Ўт№Ф'