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

Read with utf8 encoding. #3

Merged
merged 1 commit into from
Jun 16, 2017
Merged

Read with utf8 encoding. #3

merged 1 commit into from
Jun 16, 2017

Conversation

ryanve
Copy link
Owner

@ryanve ryanve commented Jun 16, 2017

From the fs docs:

If options is a string, then it specifies the encoding. Example:

fs.readFile('/etc/passwd', 'utf8', callback);

@ryanve ryanve merged commit 54c8018 into master Jun 16, 2017
@ryanve ryanve deleted the utf8 branch June 16, 2017 20:41
@ryanve ryanve restored the utf8 branch June 16, 2017 20:48
@ryanve ryanve deleted the utf8 branch June 16, 2017 20:49
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.

1 participant