From 21684baa54ded920a60b94be46fbe2db62d69208 Mon Sep 17 00:00:00 2001 From: martfrau <140052349+martfrau@users.noreply.github.com> Date: Wed, 2 Aug 2023 13:21:31 +0200 Subject: [PATCH] change codec to ISO-8859-1 --- src/ntrip_client/ntrip_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ntrip_client/ntrip_client.py b/src/ntrip_client/ntrip_client.py index 8b40a48..d9dd5ce 100644 --- a/src/ntrip_client/ntrip_client.py +++ b/src/ntrip_client/ntrip_client.py @@ -129,7 +129,7 @@ def connect(self): # Get the response from the server response = '' try: - response = self._server_socket.recv(_CHUNK_SIZE).decode('utf-8') + response = self._server_socket.recv(_CHUNK_SIZE).decode('ISO-8859-1') except Exception as e: self._logerr( 'Unable to read response from server at http://{}:{}'.format(self._host, self._port))