wish: encoding parameter for read_sas() #176
sas7bdat files can report an incorrect encoding. In this case it would be helpful if one could overrule the stated encoding by a parameter like:
Old sas7bdat files do not store their encoding at all. ReadStat's readstat_sas.c defines SAS_DEFAULT_STRING_ENCODING to resolve to WINDOWS-1252 in these cases. It would be great if from R one could overrule this setting either by another parameter to read_sas() or (better I think) by an option "defaultSASencoding" or so.
An example dataset with Shift-JIS content but no encoding specified you find in https://github.com/reikoch/testfiles/blob/master/tt.sas7bdat
The text was updated successfully, but these errors were encountered: