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

Add encoding support #550

Merged
merged 6 commits into from
Dec 15, 2016
Merged

Conversation

krlmlr
Copy link
Member

@krlmlr krlmlr commented Dec 7, 2016

Now with proper recoding of file read by readLines() call. @hadley: PTAL.

Closes #518 (=includes it).

CC @hansharhoff.

Hans Harhoff Andersen and others added 5 commits August 29, 2016 20:01
@hadley
Copy link
Member

hadley commented Dec 7, 2016

Do you think you could come up with a simple test too?

@krlmlr
Copy link
Member Author

krlmlr commented Dec 7, 2016

@hadley: The simplest test I can think of is to create a dummy package in tests/testthat, like devtools does. Where should that test live anyway?

@hadley
Copy link
Member

hadley commented Dec 7, 2016

Maybe test one level up? (i.e. test_file())

@krlmlr
Copy link
Member Author

krlmlr commented Dec 9, 2016

@hadley: Added simple test for Latin-1 and UTF-8.

@hadley hadley merged commit 15025ff into r-lib:master Dec 15, 2016
@hadley
Copy link
Member

hadley commented Dec 15, 2016

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants