engine.io-protocol icon indicating copy to clipboard operation
engine.io-protocol copied to clipboard

Documentation suggestion - explicitly identify text character encoding as UTF8

Open EagleAglow opened this issue 1 year ago • 0 comments

I found in the comments to issue #39 that "[packets]... are encoded... utf8 for text".

I think it would be helpful to add to https://github.com/socketio/engine.io-protocol#packet-encoding

"Packet encoding"

The serialization of an Engine.IO packet depends on the type of the payload (plaintext or binary) and on the transport.

Character encoding is UTF8 for plaintext and for base64-encoded binary payloads.

EagleAglow avatar May 27 '23 16:05 EagleAglow