tdryer/hangups

Unicode error comes for certain chats while other chats open up fine

vinitunni opened this issue · 0 comments

Get the following error when I try to open some conversations
'''
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 27: invalid start byte
'''

As far as I can see, this is there for some chats which don't have any emoji in the history too.

Output of
'''
python3 -c "import sys; print(sys.getfilesystemencoding())"
'''
is
'''
utf-8
'''
And that of
'''
python3 -c "import subprocess; print(subprocess.check_output(['echo', '\U0000263a']))"
'''
is
'''
b'\xe2\x98\xba\n'
'''