In decode return codecs charmap decode. Codec can't decode bytes in position 2-3 питон. функция чтения файла python encoding. unicodedecodeerror: 'charmap' codec can't decode byte 0x98 in position 4: character maps to <undefined>. знегиу 'charmap' codec can't encode characters in position 0-7: character maps to <undefined>.