Skip to content

Instantly share code, notes, and snippets.

@ryush00
Last active September 16, 2016 19:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryush00/6f5ce9bfb65e299454deb4b3ff7c203a to your computer and use it in GitHub Desktop.
Save ryush00/6f5ce9bfb65e299454deb4b3ff7c203a to your computer and use it in GitHub Desktop.
var http = require('http');
http.get(url, function(res) {
res.pipe(iconv.decodeStream('KS_C_5601-1987')).collect(function(err, decodedBody) {
console.log(decodedBody);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment