I am reading (in binary) a file and the program halts when it hits b'\xe2\x80\xa6'
.
'''UnicodeEncodeError: 'charmap' codec can't encode character '\u2026'
in position 0: character maps to <undefined>
'''
print(b'\xe2\x80\xa6'.decode('utf-8')) # HORIZONTAL ELLIPSIS (U+2026)