We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a3912a commit 5cc065fCopy full SHA for 5cc065f
eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/admin/handler/EventHandler.java
@@ -197,7 +197,7 @@ void post(HttpExchange httpExchange) {
197
198
try {
199
String request = HttpExchangeUtils.streamToString(httpExchange.getRequestBody());
200
- byte[] rawRequest = request.getBytes(StandardCharsets.UTF_8);
+ byte[] rawRequest = request.getBytes(Constants.DEFAULT_CHARSET);
201
CloudEvent event = Objects.requireNonNull(EventFormatProvider
202
.getInstance()
203
.resolveFormat(JsonFormat.CONTENT_TYPE)).deserialize(rawRequest);
0 commit comments