Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

curly quotes and other miscreant characters #32

Closed
wibeasley opened this issue Dec 3, 2019 · 3 comments
Closed

curly quotes and other miscreant characters #32

wibeasley opened this issue Dec 3, 2019 · 3 comments

Comments

@wibeasley
Copy link

@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 nutterb/redcapAPI#126 & nutterb/redcapAPI#129?

@nutterb
Copy link
Owner

nutterb commented Dec 3, 2019

I'll keep an eye out for it, but I may be able to avoid the problem. redcapAPI has an option to use iconv to obliterate non ASCII characters. It's a little heavy handed, but made for a simple and quick solution

@nutterb
Copy link
Owner

nutterb commented Mar 21, 2023

Kind of similar to vubiostat#24, but not HTML

@nutterb
Copy link
Owner

nutterb commented Apr 10, 2023

redcap 2.7.0 (vubiostat#70) add exportRecordsTyped, which is what is being recommended over exportRecords.

Please see https://github.com/vubiostat/redcapAPI

We expect this to have better handling for UNICODE.

@nutterb nutterb closed this as completed Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants