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

String variables with categories do not account for variable width #7

Open
kazoompa opened this issue Oct 14, 2020 · 0 comments
Open

Comments

@kazoompa
Copy link
Member

  • Create a SPSS file with a variable of type String having a with < 8 characters
  • Import the file into Opal

Opal throws an exception reporting invalid character.

The problem when reading the category name, the reader reads 8 bytes regardless of the width of the variable and therefore, all the null characters (\u0000) are considered invalid 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

No branches or pull requests

1 participant