bd4e45fd68
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
6 lines
130 B
Python
6 lines
130 B
Python
try:
|
|
f = open("unicode/data/utf-8_invalid.txt", encoding="utf-8")
|
|
f.read()
|
|
except UnicodeError:
|
|
print("UnicodeError")
|