Skip to content

New Str encoding broke compatibility with 0.49 decoding #30

@maxatome

Description

@maxatome

Since ada320e the Bin encoding has been added.
So from this commit, utf8 strings are encoded using Str (old Raw) format and others with Bin one.
It appears that one can not choose to disable this new encoding and stay with the old Raw (Str) one.
It is problematic in a client/server environment, where Data::MessagePack versions are not necessarily the same at a given time, on both side...
I encounter this case (server sends binary non-utf8 strings using 0.50 and client uses 0.49), so unless a "str_as_bin" (or something like that) option is added, one have to stay with 0.49 version in such cases and not upgrade any more.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions