We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55f5ad7 commit 9ba8f01Copy full SHA for 9ba8f01
2 files changed
msgpack-core/src/main/java/org/msgpack/core/MessageUnpacker.java
@@ -41,7 +41,6 @@ public static class Options {
41
private static final byte REQUIRE_TO_READ_HEAD_BYTE = HEAD_BYTE_NEVER_USED_TYPE;
42
private static final int REQUIRE_TO_READ_SIZE = -1;
43
44
- private static Charset UTF_8 = Charset.forName("UTF-8");
45
46
private final MessageBufferInput in;
47
@@ -70,7 +69,7 @@ private CharsetDecoder getCharsetDecoder() {
70
69
// TODO options
71
CharsetDecoder d = decoder;
72
if (d == null) {
73
- d = decoder = UTF_8.newDecoder();
+ d = decoder = MessagePack.UTF8.newDecoder();
74
}
75
return d;
76
msgpack-core/src/test/java/org/msgpack/core/Person.java
0 commit comments