http://nodejs.org/api/stream.html#stream_event_data
In 99%, this pattern is used to glue POST data:
request.on('data', function(chunk) {
body += chunk;
});
But that can cause broken 2-bytes unicode chars. Calling setEncoding() does
not helps.
IMHO, that's not correct - if function returns string, that string should
be valid.
Is it intentional behaviour or error?
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en