redcapAPI
redcapAPI copied to clipboard
curly quotes and other miscreant characters
@nutterb, just a heads up. I've had two recent issues created that ended up being caused by curly quotes in the data dictionary. The solution involved being more explicit with the text & encoding passed to httr::content().
I know you use httr::POST() instead (and I like that there are two approaches available to the public) and I don't know if there's an analog for your approach. Maybe httr::POST() avoids it entirely.
If you start seeing things like these two REDCapR issues, it may be worth investigating. It may address redcapAPI's #126 & #129?
- https://github.com/OuhscBbmc/REDCapR/issues/269
- https://github.com/OuhscBbmc/REDCapR/issues/272