diff options
author | Anton Tananaev <anton@traccar.org> | 2023-09-09 11:58:57 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-09-09 11:58:57 -0700 |
commit | 2dcc3e0ee0ac637ca85e2457dc3d12c4edc01ec4 (patch) | |
tree | 088da22e55ec6a4530559f18b37988888c5f4c29 /src/main/java/org/traccar/protocol/SigfoxProtocolDecoder.java | |
parent | 1ae9886ad10edcbc876a5295021f86bb7e534fde (diff) | |
download | trackermap-server-2dcc3e0ee0ac637ca85e2457dc3d12c4edc01ec4.tar.gz trackermap-server-2dcc3e0ee0ac637ca85e2457dc3d12c4edc01ec4.tar.bz2 trackermap-server-2dcc3e0ee0ac637ca85e2457dc3d12c4edc01ec4.zip |
Add RAMAC Multievent Callback
Diffstat (limited to 'src/main/java/org/traccar/protocol/SigfoxProtocolDecoder.java')
-rw-r--r-- | src/main/java/org/traccar/protocol/SigfoxProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/SigfoxProtocolDecoder.java b/src/main/java/org/traccar/protocol/SigfoxProtocolDecoder.java index 1298112d1..6f739a1a4 100644 --- a/src/main/java/org/traccar/protocol/SigfoxProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/SigfoxProtocolDecoder.java @@ -105,7 +105,7 @@ public class SigfoxProtocolDecoder extends BaseHttpProtocolDecoder { FullHttpRequest request = (FullHttpRequest) msg; String content = request.content().toString(StandardCharsets.UTF_8); if (!content.startsWith("{")) { - content = URLDecoder.decode(content.split("=")[0], "UTF-8"); + content = URLDecoder.decode(content.split("=")[0], StandardCharsets.UTF_8); } JsonObject json = Json.createReader(new StringReader(content)).readObject(); |