FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Truncate UTF-8 heavy fields when writing STATA by FlipperPA · Pull Request #383 · WizardMac/ReadStat · GitHub

Truncate UTF-8 heavy fields when writing STATA - #383

Open
FlipperPA wants to merge 6 commits into
WizardMac:devfrom
FlipperPA:dev
Open

Truncate UTF-8 heavy fields when writing STATA#383
FlipperPA wants to merge 6 commits into
WizardMac:devfrom
FlipperPA:dev

Conversation

Copy link
Copy Markdown
Contributor

Fixes #382

This truncates the very rare edge cases that exceed the byte limit, because of heavy UTF-8 usage. This path was chosen because using strL in STATA would require a significant rewrite to re-count the byte map for the binary file.

This will very, very rarely truncate the field, but provide the full row count, rather than silently dropping the entire row.

Copy link
Copy Markdown
Contributor Author

Apologies for the "git noise" from my previous contributions. I should've rebased!

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Successfully merging this pull request may close these issues.

STATA writer assumes non-unicode characters for byte count

1 participant


Back | FazBrowse Home | New Git URL