Skip to content

Conversation

i-am-the-slime
Copy link
Contributor

@i-am-the-slime i-am-the-slime commented Mar 18, 2021

Description of the change

Turns the PureScript Encoding type into the correct string that nodejs expects.

This avoids the following error.

TypeError [ERR_UNKNOWN_ENCODING]: Unknown encoding: UTF8 {}

Checklist:

  • Added the change to the changelog's "Unreleased" section with a reference to this PR (e.g. "- Made a change (#0000)")
  • Linked any existing issues or proposals that this pull request should close
  • Updated or added relevant documentation
  • Added a test for the contribution (if applicable)

Copy link
Member

@hdgarrood hdgarrood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link
Contributor

@thomashoneyman thomashoneyman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @i-am-the-slime! Can you please add this to the changelog?

Otherwise I get:
```
TypeError [ERR_UNKNOWN_ENCODING]: Unknown encoding: UTF8 {}
```
@i-am-the-slime
Copy link
Contributor Author

@thomashoneyman I wrote a sentence. I hope it's more or less understandable.

@thomashoneyman thomashoneyman merged commit 15adf15 into purescript-node:master Apr 1, 2021
@thomashoneyman
Copy link
Contributor

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.

3 participants