tomas/needle — pull request #21 by leei (2013-03-29 20:03:20+00:00)
Title: Catch error when charset not recognized

When needle sees an unrecognized charset (e.g. EUC-JP) then it will throw an 'uncatchable' error (wrapping needle.get with try/catch doesn't manage it).

I've made the mod to catch it when iconv-lite looks up the charset and forward the error to the callback.