Skip to content

BUG: to_stata erroring when encoded text and normal text have mismatched length #61629

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

eicchen
Copy link
Contributor

@eicchen eicchen commented Jun 10, 2025

I removed the encoded check in stata.py and replaced it with a normal check, if the encoded check was there for any particular reason I can standardize them the other way

@simonjayhawkins simonjayhawkins added Bug IO Stata read_stata, to_stata labels Jun 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug IO Stata read_stata, to_stata
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: StataWriter returns ascii error when length of string is < 2045, but encoded length is > 2045
2 participants