Skip to content

2.0.1 has broken multi-byte characters #87

@stephank

Description

@stephank

It appears since 2.0.1, multi-byte characters are breaking in browser clients.

In practice, we have an application that happened to send a JSON message containing a no-break space (U+00A0) somewhere, and the browser client received the message with the final } cut-off.

With a normal install of engine.io-client@2.1.0, zuul tests also fail there. When the engine.io-parser dep is then replaced with 2.0.0 (by simply swapping the directory in node_modules), tests succeed again.

All tests seem to work fine in Node.js.

(macOS 10.12.3, Chrome 56.0.2924.87. Same results in Firefox 52.0.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions