|
|
|
|
|
by rspeer
3799 days ago
|
|
> Afaik newer versions of messagepack added an extra type to have string and binary now seperated. The problem is that the 'str' type contains arbitrary binary data in an unspecified encoding, and always will, because of backward compatibility. This isn't changed by adding a 'bin' type. Msgpack decoders in Python, for example, have to give you bytestrings unless you pass an option that promises that 'str's are all encoded in UTF-8. |
|