Commit 45d530c
committed
Support msgpack-1.0.0 (packing part)
The default value of the 'use_bin_type' option was changed in
msgpack-1.0.0. We should support different versions of the library and
provide the same behaviour across them.
Aside of this, 'encoding' option was dropped since this version of the
msgpack library, but we didn't actually support it for packing. Binary
strings are packed as is (as mp_str), Unicode strings are encoded as
UTF-8 (as mp_str too) and nothing is changed regarding this.
Fixes #1551 parent 02998f5 commit 45d530c
1 file changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
69 | 81 | | |
70 | 82 | | |
71 | 83 | | |
| |||
0 commit comments