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

Writing to a file/stream breaks because writableStream does not have the setEncoding method #4

Closed
izuzak opened this issue Oct 17, 2010 · 2 comments

Comments

@izuzak
Copy link

izuzak commented Oct 17, 2010

Hi,

the createCsvFileWriter and createCsvStreamWriter methods throw an exception in all lines that set the encoding since the streamWriter object (no longer?) has the .setEncoding method. The encoding should be defined as a part of the .write method - see http://nodejs.org/api.html#writable-stream-33.

I'm running Node 0.2.3.

@koles
Copy link
Owner

koles commented Oct 18, 2010

Just fixed in commit b6eab9a. Version 0.1.5 has been tagged and uploaded to the npm repo.

Thanks for the bugreport!

@izuzak
Copy link
Author

izuzak commented Oct 18, 2010

Nice, thanks!

This issue was closed.
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