Alistair Pattison
Alistair Pattison
Brute forcing all iconv encodings does nothing ```python import requests import pyreadstat url = "https://gist.githubusercontent.com/hakre/4188459/raw/13b4171a4415a1a5b360a6b39fe8661913622aa0/iconv-l.txt" encodings = requests.get(url).text.split() for e in encodings: try: pyreadstat.read_dta("cocaine.dta", encoding=e) print(f"succeeded on {e}") break except:...
Haven leaves the characters as their hex codes: ```r r$> df attributes(df) $class [1] "tbl_df" "tbl" "data.frame" $row.names [1] 1 2 3 4 5 6 7 8 9 10 11...
I can open an issue in the readstat repo, but FYI this problem is not limited to just notes. Depending on the file, this can happen in the notes (as...