joyent/node — pull request #8529 by mscdex (2014-10-08 15:38:07+00:00)
Title: streams: make setDefaultEncoding() throw

This makes behavior consistent with `readable.setEncoding()`.