Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DB4MemoFile field termination. #64

Open
EspenEnes opened this issue Jul 17, 2022 · 0 comments
Open

DB4MemoFile field termination. #64

EspenEnes opened this issue Jul 17, 2022 · 0 comments

Comments

@EspenEnes
Copy link

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??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant