Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vinitunni opened this issue Jul 22, 2019 · 0 comments
Open

Comments

@vinitunni
Copy link

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'
'''

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants