abrignoni / Whatsapp-ManualBUP-Parser

10 stars 0 forks source link

Cannot export chats with emojies #2

Open ShadyMedic opened 3 years ago

ShadyMedic commented 3 years ago

When I try to export a chat containing emojies, this error message is thrown: Screenshot_1

There is the 😉 emoji on positions 2223 - 2226

ShadyMedic commented 3 years ago

Update: It neither works with certain diacritics. I tried to export a chat with a message containing a few random characters from the local alphabet - éťňčďíóá and the script crashed on position with the letter ň.

UTF-8 encoding should handle it, but I don't know how to define it in Python.

abrignoni commented 3 years ago

Could you share a chat I could use for testing?

ShadyMedic commented 3 years ago

Sure, here you go. Thanks for looking into this.

Chat WhatsApp s u_ivatelem Debug whatsapp export API 1.zip

ShadyMedic commented 3 years ago

Use this instead, please. It has that problematic emoji.

Chat WhatsApp s u_ivatelem Debug whatsapp export API 1.zip