-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
chinese is mojibake in the generated file #20
Comments
|
I'll check it as soon as possible. |
I think the problem is on line 249. Lines 247 to 256 in a17eb3a
|
Line 249: That seems to do the trick for me. At least in spss the data looks the same. This probably goes for other parts of the code as well. The catch is that we do not chop chars that can be 1, 2 or 3 bytes but really segments of 8 bytes. I also tried mb_strcut but ended up having spaces between the segments. |
I will push a fix with unit test later |
Fix for #20 read/write multibyte chars in free text
When I set valuelabel, variablelable and data in Chinese, the value of the field in the sav file is Mojibake.
The text was updated successfully, but these errors were encountered: