Skip to content

Troubles with reading cyrillic chars #2

@tsouvarev

Description

@tsouvarev

Hello, first of all, thanks for this port of dbfread

I have DBF file with cyrillic fields. When I try to read these fields, I get
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte in fields.py:213 which is return value.rstrip(b' ').decode('utf-8')

When I change utf-8 to cp866 (default encoding for DBF), everything is working just fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions