joeyaurel / python-gedcom

Python module for parsing, analyzing, and manipulating GEDCOM files
https://gedcom.joeyaurel.dev
GNU General Public License v2.0
154 stars 39 forks source link

invalid continuation byte #63

Open Thierry-Dumont opened 2 years ago

Thierry-Dumont commented 2 years ago

With a .ged file exported from geneanet, I get an encoding problem error:

21 input = input[3:] 22 prefix = 3 ---> 23 (output, consumed) = codecs.utf_8_decode(input, errors, True) 24 return (output, consumed+prefix) 25

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe2 in position 20: invalid continuation byte

gorogm commented 2 years ago

Happens same with gedcom from MyHeritage

gorogm commented 2 years ago

This hack worked for me: https://github.com/nickreynke/python-gedcom/issues/47