Skip to content

DB4MemoFile field termination. #64

@EspenEnes

Description

@EspenEnes

I am reading a memo file where i dont retrive the full length of my field due to different termination of fields.
there is a #Todo for this:

from dbfread/memo/DB4MemoFile
------snipp----------
# Todo: fields are terminated in different ways.
# \x1a is one of them
# \x1f seems to be another (dbase_8b.dbt)
return data.split(b'\x1f', 1)[0]
-------end snipp----

if i use \x1a or return all data, it seems to be correct

So why are we splitting the output??

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