Skip to content

Commit a4984d5

Browse files
authored
Support non ASCII character sets in MR Sets (#351)
1 parent 22f28ed commit a4984d5

File tree

5 files changed

+472
-481
lines changed

5 files changed

+472
-481
lines changed

src/readstat_error.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,5 +122,8 @@ const char *readstat_error_message(readstat_error_t error_code) {
122122
if (error_code == READSTAT_ERROR_BAD_TIMESTAMP_VALUE)
123123
return "The provided file timestamp is invalid";
124124

125+
if (error_code == READSTAT_ERROR_BAD_MR_STRING)
126+
return "A multi-response set record is invalid";
127+
125128
return "Unknown error";
126129
}

0 commit comments

Comments
 (0)