m2node icon indicating copy to clipboard operation
m2node copied to clipboard

Update to fix netstring multibyte UTF-8 parsing

Open damondanieli opened this issue 14 years ago • 0 comments

Hi Dan,

I've merged dinedal's updates and a fix to parsing the netstring.

You were using the string splice methods (which work on characters and not bytes).

This would improperly handle multibyte UTF-8 characters.

I've also added a JSON message handler.

damondanieli avatar Nov 06 '11 17:11 damondanieli