ReadStat: Unable to convert string to the requested encoding (incomplete byte sequence)
readstat.exe res1.sas7bdat
Format: SAS data file (SAS7BDAT)
Columns: 13
Rows: 11
File label: RES1
Timestamp: 01 Jun 2027 19:33
File format version: 90401
readstat.exe res1.sas7bdat res1.csv
ReadStat: Error parsing page 0, bytes 65536-131071
Error processing res1.sas7bdat: Unable to convert string to the requested encoding (incomplete byte sequence)
it really has broken multi-byte characters.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 15 (8 by maintainers)
Commits related to this issue
- Iconv: Strip spaces from input rather than output #93 Should turn EILSEQ errors into EINVAL errors when data was truncated — committed to WizardMac/ReadStat by evanmiller 7 years ago
Try this: https://github.com/WizardMac/ReadStat/commit/30200f0b743511e3d9b56bfd64ebc0ed0a8cbf6a