Open wmrowan opened 11 years ago
+1 or support only setEncoding('utf8') and ignore others seems fine.
See #10
So, is there a plan to merge the PR?
Would there be any value to throwing or at least logging an error if it is not utf-8
?
+1 either way.
+1
+1 Causes problem on other library. https://github.com/baalexander/node-xmlrpc/issues/135
Response data in http-browserify seems to default to text. In node http it seems to default to buffer. Independent of defaults, the node version supports
setEncoding
so you can change the type of the response. The browserify version should do the same.